I'm working on a project that uses Kohana 3.3.
I've run into a problem where I want to connect to a database. The application is telling me it's using MySQL and it's decrepated.
To solve this I've downloaded a MySQLi driver for Kohana 3.3 and followed the instructions (creating a mysqli folder in the modules folder and adding a new line in bootstrap.php to enable it).
However when I try to perform any database actions it still says it's using MySQL.
The error reads: "Database_Exception [ 8192 ]: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead".
The line I'm using to enable the module is 'mysqli' => MODPATH.'mysqli', // MySQLi support for Kohana
The MySQLi driver I'm using is this (links to github).
Can anyone see what's going wrong?
Thanks in advance.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…