Feature #16232
closedsupport mysqli extension
0%
Description
The install tool doesn't seem to recognize/use the mysqli extension when mysql is not installed.
Shouldn't the dbal cover that? - if so dbal needs better docs.
Either support directly mysqli or some kind of documentation needs to say typo3 doesn't support it and that mysql is required, or make dbal work better.
The install tool explicitly checks for the mysql extension:
if (!extension_loaded('mysql') && !t3lib_extMgm::isLoaded('dbal'))
If I get a chance, I'll look into dbal and figure out how to patch what, or what documentation needs to be clarified, but until then, I'm sure no one would be dissapointed if someone took this on.
Server info:
Fedora something or other (2.6.8 kernel IIRC)
MySQL 5.0.22
PHP 5.1.4
Apache httpd 2.2.2
Typo3 4.0
(issue imported from #M3659)
Updated by Jacob Floyd over 18 years ago
oops. I don't think this should be major, sorry. Change if needed.
Updated by Karsten Dambekalns over 18 years ago
This probably is somewhat in between the core and DBAL. You can of course use DBAL and the ADOdb mysqli driver to make it work with mysqli, but that would be a rather awkward solution - installing the "old" mysql PHP extension is the far better solution in that case.
It would be nice to support mysqli diretcly, of course. But this needs further investigation...
Updated by Martin Kutschker over 18 years ago
I see two solutions for it:
a) One is simpyl a extension with an XCLASS of t3lib_db. You must install it manually.
b) The Core itself has suport for it. The trick is then that the constructor returns the instance of t3lib_db_mysqli instead of t3lib_db.
Updated by Steffen Müller almost 18 years ago
Here's a link to a comparison benchmark (mysql vs. mysqli)
http://www.johnjawed.com/benchmarks/
Updated by Christian Kuhn over 11 years ago
- Status changed from Accepted to Resolved
- Target version changed from 0 to 6.1.0-beta1
- PHP Version deleted (
5)
This was solved in typo3 6.1 with the switch to mysqli
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed