MySQL adapter mysql is not available

Diewoex

Member
Mar 9, 2018
8
0
1
Peru
cPanel Access Level
Root Administrator
Dear, I have an error when entering the web of one of my clients:

Database Error: Unable to connect to the database: The MySQL adapter "mysql" is not available.Database Error: Unable to connect to the database: The MySQL adapter "mysql" is not available.

Check the logs:
Code:
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/xmlwriter.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/xmlwriter.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/xsl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/xsl.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/json.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/fileinfo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: undefined symbol: zend_multibyte_encoding_detector in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/zip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/gd.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdo_sqlite.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/mbstring.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/mbstring.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/mcrypt.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/phar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/phar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:10 America/Lima] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/tidy.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/tidy.so: cannot open shared object file: No such file or directory in Unknown on line 0
[21-Mar-2018 12:08:12 America/Lima] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home2/tekconsu/public_html/libraries/loader.php:175) in /home2/tekconsu/public_html/libraries/joomla/factory.php on line 566
]
my client uses joomla, what can I do?

Thank
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Database Error: Unable to connect to the database: The MySQL adapter "mysql" is not available.Database Error: Unable to connect to the database: The MySQL adapter "mysql" is not available.
Hello,

There's a thread on this topic at:

Database connection error after updating to PHP7

Additionally, though it appears unrelated to the actual problem, check to see if you are using a custom php.ini file within the document root of this account, as it looks like one exists with invalid paths.

Thank you.