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 / test
Name Modified Size InfoDownloads / Week
Parent folder
update_delete.php 2011-03-03 1.1 kB
show_tables.php 2011-03-03 934 Bytes
show_indexes.php 2011-03-03 932 Bytes
select.php 2011-03-03 802 Bytes
records_count.php 2011-03-03 746 Bytes
num_xxx.php 2011-03-03 967 Bytes
last_insert_id.php 2011-03-03 2.3 kB
insert.php 2011-03-03 696 Bytes
index.php 2011-03-03 3.1 kB
field_xxx.php 2011-03-03 1.3 kB
field_type.php 2011-03-03 1.1 kB
fetch_assoc.php 2011-03-03 772 Bytes
fetch_array.php 2011-03-03 822 Bytes
error.php 2011-03-03 795 Bytes
drop_table_if_exists.php 2011-03-03 994 Bytes
describe_table.php 2011-03-03 924 Bytes
default.css 2011-03-03 515 Bytes
current_database.php 2011-03-03 670 Bytes
connect.php 2011-03-03 486 Bytes
column_type.php 2011-03-03 786 Bytes
Totals: 20 Items   20.8 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