View Single Post
Old 18th April 2013, 23:11
lmason674 lmason674 is offline
Junior Member
Join Date: Jul 2012
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Default update - Unable to connect to dbispconfig database after update

Using Centos 5.9 (x64)
I used the ispconfig_update script successfully, upgraded from
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 interface 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/"

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

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

Any Ideas?

Till said -

Please check that the php mysqli commands are available.
Till Brehm
I replied -
MySQLi is installed and available.
Here is the display for mysql & mysqli from PHP_INFO -


MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.95
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 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?

I could really use some help here.


Reply With Quote
Sponsored Links