ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:mysql_legacy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
v5:database:mysql_legacy [2020/01/13 13:25] – created dregadv5:database:mysql_legacy [2022/02/20 00:48] (current) – Drivers removed in ADOdb 5.22.1 dregad
Line 1: Line 1:
 ====== Legacy MySQL drivers ===== ====== Legacy MySQL drivers =====
  
-This page references deprecated legacy drivers for MySQL. Please refer to [[v5:database:mysql]] for the current, supported driver (mysqli).+<WRAP important> 
 +This page references the legacy MySQL drivers, which are deprecated since ADOdb 5.20 and were removed in 5.22 
 +</WRAP> 
 + 
 +Please refer to [[v5:database:mysql]] for the current, supported driver (mysqli). 
 + 
 + 
 +===== Migrating to the mysqli driver ===== 
 + 
 +If you are still using the legacy //mysql//, //mysqlt// or //mysqlpo// drivers, you should be planning on migrating to the **[[v5:database:mysql|mysqli driver]]**. Support for both drivers is built into PHP up to version PHP 5.4. From an ADOdb standpoint, it is simply a case of switching from  
 + 
 +  $db = newAdoConnection('mysql'
 +to 
 +  $db = newAdoConnection('mysqli')
  
 +--------------------------------------
  
 ===== mysql driver ===== ===== mysql driver =====
Line 9: Line 23:
 ^Driver Name|mysql| ^Driver Name|mysql|
 ^Data Provider|mysql)| ^Data Provider|mysql)|
-^Status|Obsolete((This driver will be removed in ADOdb version 6))|+^Status|Obsolete((This driver has been removed in ADOdb version 5.22.1))|
 ^Windows|Yes| ^Windows|Yes|
 ^Unix|Yes| ^Unix|Yes|
Line 15: Line 29:
 ^ADOdb V6|No| ^ADOdb V6|No|
 </WRAP> </WRAP>
-This driver uses the PHP original mysql driver and only provides support to non-transactional tables such as MyIsam.+This driver uses the PHP original mysql extension and only provides support to non-transactional tables such as MyIsam.
    
   * It cannot be used with the PHP 'Improved' MySQL driver.    * It cannot be used with the PHP 'Improved' MySQL driver. 
-  * The PHP driver is deprecated as of PHP Version 5.5 and will be removed in PHP version 7.  +  * The PHP extension is deprecated as of PHP Version 5.5 and will be removed in PHP version 7.  
-  * This driver is deprecated as of ADOdb version 5.20 and will be removed in ADOdb version 6.0.+  * This driver is deprecated as of ADOdb version 5.20 and has been removed in ADOdb version 5.22.1.
  
  
Line 28: Line 42:
 ^Driver Name|mysqlt| ^Driver Name|mysqlt|
 ^Data Provider|mysql)| ^Data Provider|mysql)|
-^Status|Obsolete((This driver will be removed in ADOdb version 6))|+^Status|Obsolete((This driver has been removed in ADOdb version 5.22.1))|
 ^Windows|Yes| ^Windows|Yes|
 ^Unix|Yes| ^Unix|Yes|
Line 34: Line 48:
 ^ADOdb V6|No| ^ADOdb V6|No|
 </WRAP> </WRAP>
-This driver uses the PHP original mysql driver and provided support to transactional tables such as InnoDB. +This driver uses the PHP original mysql extension and provided support to transactional tables such as InnoDB. 
  
   * It cannot be used with the PHP 'improved' MySQL driver.    * It cannot be used with the PHP 'improved' MySQL driver. 
-  * The PHP driver is deprecated as of PHP Version 5.5 and will be removed in PHP version 7.  +  * The PHP extension is deprecated as of PHP Version 5.5 and will be removed in PHP version 7.  
-  * This driver is deprecated as of ADOdb version 5.20 and will be removed in ADOdb version 6.0+  * This driver is deprecated as of ADOdb version 5.20 and has been removed in ADOdb version 5.22.1
  
 -------------------------------- --------------------------------
Line 46: Line 60:
 ^Driver Name|mysqlpo| ^Driver Name|mysqlpo|
 ^Data Provider|mysql)| ^Data Provider|mysql)|
-^Status|Obsolete((This driver will be removed in ADOdb version 6))|+^Status|Obsolete((This driver has been removed in ADOdb version 5.22.1))|
 ^Windows|Yes| ^Windows|Yes|
 ^Unix|Yes| ^Unix|Yes|
Line 52: Line 66:
 ^ADOdb V6|No| ^ADOdb V6|No|
 </WRAP> </WRAP>
-This driver duplicates the functionality of the mysqlt driver and is not maintained. It will be removed in ADOdb version 6.0+This driver duplicates the functionality of the mysqlt driver and is not maintained. It has been removed in ADOdb version 5.22.1
 ------------------------------------------ ------------------------------------------
  
 {{tag>[MySQL deprecated]}} {{tag>[MySQL deprecated]}}
  
v5/database/mysql_legacy.1578918313.txt.gz · Last modified: 2020/01/13 13:25 by dregad