About Site Map Submit Contact Us Log in | Create an account
Create an account Log In
Average Rating
User Rating:
Visitors Rating:
My rating:

Write review
See full specifications

linux default iconMySQL PHP to Posgres Converter Publisher's description

MySQL PHP to PostgreSQL is a program that takes a php page that uses mysql calls and changes them into PostgreSQL calls.

MySQL PHP to PostgreSQL is an application that takes a php page that uses mysql calls and changes them into PostgreSQL calls.

This allows any website (if it converts properly) that was written in PHP for MySQL to run as a website written to run on PostgreSQL.

� Step 1: Download and uncompress

To uncompress simply type: tar xvzf mysqlphp2postgres.tar.gz

If you're on a non-GNU system you might have to type: gzip -dc mysqlphp2postgres.tar.gz | tar xvf -

� Step 2: Compile

To compile simply type: make

If you're on a non-GNU system you'll have to edit the make file to change the compiler to cc instead of gcc

� Step 3: Install

Type: make install

This will simply copy the binary file to /usr/local/bin/

� Step 4: Convert

Type: mysqlphp2postgres inputfile.php outputfile.php

The input file is the php page that uses mysql. The outfile is the page you want to create. You will probably need to tell mysqlphp2postgres the name of the postgreSQL database since mysql_select_db doesn't translate. You can do this by using a -d switch. So if, for example, the database you're connecting to is called blah, you could type: mysqlphp2postgres -d blah inputfile.php outputfile.php


I have had the following problems from using this program:
MySQL has a lot more functions in PHP than PostgreSQL that do more things. I haven't had a problem with any unsupported functions in my programs, but someone probably will. If you want to help write code for this to support those functions (if that's even possible) feel free to help.

What's New in This Release:

� Fixed some stuff.
� Cleaned up some code.
� This program now produces code optomized for PHP 4.1.0 and above.

System Requirements:

No special requirements.
Program Release Status:
Program Install Support: Install and Uninstall

MySQL PHP to Posgres Converter Tags:

Click on a tag to find related softwares

Most Popular

linux default icon A2Billing 1.6.0
A2Billing is a billing system interactive with Asterisk to give any Telecom company traditional offering VOIP... Read more
linux default icon FrontAccounting 2.3.10
FrontAccounting is free and released under the GNU General Public License.
linux default icon PgAdmin III for Linux 1.14.1
pgAdmin is the most popular and feature rich Open Source administration and development platform for... Read more
linux default icon RazorSQL for Linux 5.6.3
RazorSQL is an SQL query tool, database browser, SQL editor,....
linux default icon Salat Book 1.00
Salat / Namaz prayer database and tracking application