MySQL and MySQLi

Reply Topic
Link to this post 02 Apr 11

Hi guys,

Just wondering... on my localhost, on PhpMyAdmin I noticed this under webserver.

Web server
Apache/2.2.14 (Win32) PHP/5.2.11
MySQL client version: 5.0.51a
PHP extension: mysqli

Does this mean that in my Joomla configuration.php files I should have this?

var $dbtype = 'mysqli';

Or will it work just the same with var $dbtype = 'mysql';

Many thanks as always,


Link to this post 02 Apr 11

Hi Dave,

Any server that supports mysqli will also support mysql, so using either one in Joomla Global Configuration is fine.

Note that if you use Ninjaboard, Ninja Content, Ninja RSS Syndicator 2.0, or Ninja Journal, you will need to use mysqli.

Kind regards,

Home Forum General The Tea House MySQL and MySQLi