View Single Post
  #1  
Old 28th March 2011, 14:23
acrobal acrobal is offline
Junior Member
 
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default problem with mirror setup and multiserver setup

Hi,

I installed ispconfig3 on 3 servers. 2 servers installed with mirror setup with this tutorial

http://www.howtoforge.com/installing...th-ispconfig-3

with all service except DNS.

It worked well but when I had the third server to DNS service with this tutorial

http://www.howtoforge.com/installing...th-ispconfig-3

I had this problem
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php

to resolv this problem I pasted the password found on /usr/local/ispconfig/server/lib/config.inc.php

and i do this command

mysql -u root -p
use mysql;
mysql> update user set password=PASSWORD("Password found on th file") where User='ispconfig';
flush privileges;
quit

I resolv the problem but I have a new error

PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 78
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 63
PHP Warning: mysql_error() expects parameter 1 to be resource, boolean given in /usr/local/ispconfig/server/lib/classes/db_mysql.inc.php on line 64

Any idea?? please
Thank you for all your answers
Reply With Quote
Sponsored Links