Download Latest Version CUBRID MySQL Compatibility Interface 1.0.zip (23.3 kB)
Email in envelope

Get an email when there's a new version of CUBRID MySQL Compatibility Interface

Home
Name Modified Size InfoDownloads / Week
test 2011-03-03
CUBRID MySQL Compatibility Interface 1.0.zip 2011-03-08 23.3 kB
readme.txt 2011-03-03 1.1 kB
license.txt 2011-03-03 15.4 kB
Totals: 4 Items   39.9 kB 0
The current CUBRID PHP Connector is different from the one existing for MySQL:
    * The names of the functions might be different ("mysql_query" vs. "cubrid_execute")
    * The order of the arguments might be different ("mysql_connect")
    * Sometime there is no corresponding functionality between MySQL and CUBRID ("mysql_insert_id", for example)

For the complete list of PHP API functions comparison,
see http://www.cubrid.org/cubrid_mysql_php_function_comparison.
This makes difficult for developers to port application from MySQL to CUBRID, 
as many times there is no direct mapping. 
Therefore, we have developed this CUBRID MySQL PHP Compatibility Interface, 
which acts as a intermediate layer between CUBRID and MySQL, and simplifies the migration process.

The main idea behind the development of this library was to make conversion from MySQL to CUBRID 
as simple as just adding a prefix (“cubrid_”) to the existing PHP MySQL function names.

For example, instead of converting:
  mysql_query ($sql, $conn)
to
  cubrid_execute($conn, $sql)
the developer will just write:
  cubrid_mysql_query ($sql, $conn)

  
Source: readme.txt, updated 2011-03-03