Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I Have a vps server with PHP 5.3.3 installed ,I added a new version 5.3.28 and switch my hosting to use FastCGI with PHP-5.3.28 now i get this "Database connection error (1): The MySQL adapter 'mysql' is not available.".I beleive i miss some configuration when installing the new PHP version.any help is appreciated

like image 851
Dghaies Ahmed Avatar asked Dec 04 '25 19:12

Dghaies Ahmed


1 Answers

It sounds like you've also change the available adpator to mysqli from mysql — the message is saying the adapter mysql is not availble.

Did you remember to change your Joomla configuration.php file to use mysqli?

Open the Joomla (2.5 or 3.x) configuration.php file and look for the line:

public $dbtype = 'mysql'

and change it to:

public $dbtype = 'mysqli'

If it isn't already…

like image 112
Craig Avatar answered Dec 07 '25 09:12

Craig



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!