![]() |
Could not connect to MySQL server!
Hi!
I've changed mysql server passwd (in shell). Then I change/adopt passwd in /home/admispconfig/ispconfig/lib/config.inc.php. But now when I restart ispconfig, I get error: Quote:
I could normaliy login in mysql ($mysql -u root -p), my mysql passwd cointains just alphanumeric characters. |
When you change the mysql password you need to either flush the privileges or restart the mysql server... the same goes if you alter the privileges altogether :)
|
Yes, I did flush privileges and also restart mysql server.
I'm using ISPConfig 2.2.6. Will reinstall fix that problem? I don't want to lose current configuration and data. |
Please check your MySQL password in config.inc.php for typos.
Can you connect on the shell with Code:
mysql -u root -p |
Yes, passwd is exactly the same, I also double check for typos in config.inc.php.
|
can you test this script and tell me the output?
Code:
<? |
Quote:
Quote:
ii mysql-client 5.0.22-0ubuntu6.06 mysql database client (current version) ii mysql-client-5.0 5.0.22-0ubuntu6.06 mysql database client binaries ii mysql-common 5.0.22-0ubuntu6.06 mysql database common files (e.g. /etc/mysql ii mysql-server 5.0.22-0ubuntu6.06 mysql database server (current version) ii mysql-server-5.0 5.0.22-0ubuntu6.06 mysql database server binaries |
Now this is interesting. Is php actually built with mysql?
Code:
<? phpinfo(); ?>Quote:
|
from <? phpinfo(); ?>:
Quote:
|
Maybe this helps: http://www.whoopis.com/howtos/mysql-auth-fix.html
Otherwise here's a goole search with results on that issue: http://www.google.ch/search?q=Client...en-US:official |
| All times are GMT +2. The time now is 08:44. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.