problem installing plesk

whenever I install the main plesk 7.0.4 rpm on a CentOS3.1 machine I get the following error message:

===> Installing psa database
Trying to check psa database... Trying to find psa database...
Trying to connect with adminproblem installing plesketup account... ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
not connected
Trying to connect as root with empty password... ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
not connected
Cannot connect to mysql database.
Normally, for psa installation mysql administrator must be
'root' without any password. Fix problem and try again.


I have done the following:
If after plesk has attmpted an install I am not able to login to mysql with "mysql -u root -p" and a blank password(gives me the socket missing error message).
If i restart mysql with "service mysqld stop" and "service mysqld start" I can then login to mysql from the command line.
Run the psa installer rpm again and it mucks mysql up until i restart it.
I have also removed the mysql and mysql-server rpms, deleted the /var/lib/mysql dir along with the /etc/my.cnf config file and reinstalled the mysql and mysql-server rpms but the same problem continues.

Any ideas? problem installing plesk

 

 

 

 

Top