Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

MySQL adapter mysql is not available

Discussion in 'Database Discussion' started by Diewoex, Mar 21, 2018.

  1. Diewoex

    Diewoex Member

    Joined:
    Mar 9, 2018
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,408
    Likes Received:
    1,953
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice