Project

General

Profile

Actions

Bug #74502

closed

adodb - Deprecation Notice

Added by Björn Heinermann over 8 years ago. Updated over 8 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2016-03-08
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Björn Heinermann over 8 years ago

We use the svconnector extension which uses the adodb sys extension.

Actions

Also available in: Atom PDF