Bug #74502
closedadodb - Deprecation Notice
0%
Description
Hi,
our TYPO3 protocol is full with this deprecation notice.
Core: Error handler (FE): PHP Runtime Deprecation Notice: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in ..\typo3\sysext\adodb\adodb\drivers\adodb-mysql.inc.php line 458
Thanks for fixing & best wishes
Björn
Updated by Morton Jonuschat over 8 years ago
- Category set to 999
- Status changed from New to Rejected
Use the ADOdb driver "mysqli" instead of "mysql" and the deprecation notice will go away.
Sidenote: If you only use a single MySQL Database and none of the table remapping options of DBAL/ADOdb consider disabling the extensions adodb and dbal to use the native driver, resulting in a nice performance boost.
Updated by Christian Kuhn over 8 years ago
This is probably not a core issue but a dbal misconfiguration:
If you are not using db abstraction to a different database than the native mysql via the core mysqli driver, then unload both extensions dbal and adodb.
In case you do need dbal, switch the driver configuration from mysql to mysqli within the dbal handlerCfg.
Updated by Björn Heinermann over 8 years ago
We use the svconnector extension which uses the adodb sys extension.