K
Kevin Medri
Guest
Hi I have just run a yum upgrade on php and mysql from the atomicorp repository and now recieve this error message:
ERROR: PleskFatalException
Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
0: common_func.php3:146
psaerror(string 'Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)')
1: auth.php3:93
Also in ssh i cannot seem to start the service mysql, I am using command:
service mysqld start
This returns failed.
Also my sites cannot connect to database.
Any help would be great. Thank you.
ERROR: PleskFatalException
Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
0: common_func.php3:146
psaerror(string 'Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)')
1: auth.php3:93
Also in ssh i cannot seem to start the service mysql, I am using command:
service mysqld start
This returns failed.
Also my sites cannot connect to database.
Any help would be great. Thank you.