3.0.5.2 update - Unable to connect to dbispconfig database after update

Discussion in 'Installation/Configuration' started by lmason674, Apr 2, 2013.

  1. lmason674

    lmason674 New Member

    Using Centos 5.9 (x64)
    I used the ispconfig_update script successfully, upgraded from 3.0.4.6.
    All of the sites I host work fine.
    I can access mysql with phpmyadmin without trouble.
    But after the update, I can longer access ISPConfig on port 8080.
    The error message at the browser is -

    "Database Error: Unable to connect to the database:Could not connect to database"

    I have no errors accessing databases using mysql, including dbispconfig using "mysql -h localhost -u ispconfig -p (using password from ../interface/lib/config.inc.php)"

    I have searched all relevant log files, but find nothing.

    Everything on the server works great, just no ISPConfig interface.

    Any Ideas? :confused:
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Please check that the php mysqli commands are available.
     
  3. lmason674

    lmason674 New Member

    Thank you till for the reply.

    MySQLi is installed and available.
    Here is the display for mysql & mysqli from PHP_INFO -

    mysql

    MySQL Support enabled
    Active Persistent Links 0
    Active Links 0
    Client API version 5.0.95
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib64/mysql -lmysqlclient

    Directive Local Value Master Value
    mysql.allow_local_infile On On
    mysql.allow_persistent On On
    mysql.connect_timeout 60 60
    mysql.default_host no value no value
    mysql.default_password no value no value
    mysql.default_port no value no value
    mysql.default_socket /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock
    mysql.default_user no value no value
    mysql.max_links Unlimited Unlimited
    mysql.max_persistent Unlimited Unlimited
    mysql.trace_mode Off Off

    mysqli

    MysqlI Support enabled
    Client API library version 5.0.95
    Active Persistent Links 0
    Inactive Persistent Links 0
    Active Links 0
    Client API header version 5.0.77
    MYSQLI_SOCKET /var/lib/mysql/mysql.sock

    Directive Local Value Master Value
    mysqli.allow_local_infile On On
    mysqli.allow_persistent On On
    mysqli.default_host no value no value
    mysqli.default_port 3306 3306
    mysqli.default_pw no value no value
    mysqli.default_socket no value no value
    mysqli.default_user no value no value
    mysqli.max_links Unlimited Unlimited
    mysqli.max_persistent Unlimited Unlimited
    mysqli.reconnect Off Off


    Any other suggestions?
     
  4. lmason674

    lmason674 New Member

    Still having this problem - can you help?

    I still cannot get the ISPConfig interface to work after upgrading, what else can I look at to fix this problem? :(:confused:
     
  5. lmason674

    lmason674 New Member

    Any more ideas?

    Does anyone have any ideas?
     

Share This Page