ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:database:mysql_legacy

Legacy MySQL drivers

This page references deprecated legacy drivers for MySQL. Please refer to 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 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

Specification
Driver Namemysql
Data Providermysql)
StatusObsolete1)
WindowsYes
UnixYes
ADOdb V5Yes
ADOdb V6No

This driver uses the PHP original mysql driver and only provides support to non-transactional tables such as MyIsam.

  • 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.
  • This driver is deprecated as of ADOdb version 5.20 and will be removed in ADOdb version 6.0.

mysqlt driver

Specification
Driver Namemysqlt
Data Providermysql)
StatusObsolete2)
WindowsYes
UnixYes
ADOdb V5Yes
ADOdb V6No

This driver uses the PHP original mysql driver and provided support to transactional tables such as InnoDB.

  • 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.
  • This driver is deprecated as of ADOdb version 5.20 and will be removed in ADOdb version 6.0

mysqlpo driver

Specification
Driver Namemysqlpo
Data Providermysql)
StatusObsolete3)
WindowsYes
UnixYes
ADOdb V5Yes
ADOdb V6No

This driver duplicates the functionality of the mysqlt driver and is not maintained. It will be removed in ADOdb version 6.0


1) , 2) , 3)
This driver will be removed in ADOdb version 6
v5/database/mysql_legacy.txt · Last modified: 2020/01/13 13:30 by dregad