Osny Netto
Osny Netto

Reputation: 572

Change the MySQL driver used by Joomla

When I was installing Joomla, mysqli was the default option, so I installed with mysqli driver.

But the database of my client is mysqli. So when i migrate my local site to the host, i get this error:

Database connection error (1): The MySQL adapter 'mysqli' is not available.

Can someone know how I change/go back to 'mysql' driver? Because I configured all my Joomla sites in localhost with the 'mysqli' driver.

Upvotes: 1

Views: 12039

Answers (1)

Lodder
Lodder

Reputation: 19733

Open configuration.php and change this:

public $dbtype = 'mysqli';

to this

public $dbtype = 'mysql';

Upvotes: 5

Related Questions