Project

General

Profile

Actions

Feature #16232

closed

support mysqli extension

Added by Jacob Floyd over 18 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2006-06-13
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #36419: Migrate core from mysql to mysqliClosed2012-04-22

Actions
Actions #1

Updated by Jacob Floyd over 18 years ago

oops. I don't think this should be major, sorry. Change if needed.

Actions #2

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...

Actions #3

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.

Actions #4

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/

Actions #5

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

Actions #6

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF