Hello guys, i´m getting problems with my mysql, i have some sites that many times per day got this error:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ok, so i start to looking for this issue, and i execute this script "/scripts/mysqlconnectioncheck" and after that my problems grow up, the last line of this script i got this message "The MySQL root password has been changed." after that i can´t access my phpmyadmin and the root password not work anymore, i already many ways to change the root password, all without success.
I tried use the "mysqll root password" in the WHM/ SQL Services, say that the root password was change, but not work too, i try this too that i found in the cpanel forum:
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
mysql mysql -e "update user set password=PASSWORD('mynewpassword') where user='root';"
killall -9 mysqld_safe
killall -9 mysqld
/etc/init.d/mysql start
Not work too, does anybody knows how can i change this root password?
Thanks
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ok, so i start to looking for this issue, and i execute this script "/scripts/mysqlconnectioncheck" and after that my problems grow up, the last line of this script i got this message "The MySQL root password has been changed." after that i can´t access my phpmyadmin and the root password not work anymore, i already many ways to change the root password, all without success.
I tried use the "mysqll root password" in the WHM/ SQL Services, say that the root password was change, but not work too, i try this too that i found in the cpanel forum:
/etc/init.d/mysql stop
mysqld_safe --skip-grant-tables &
mysql mysql -e "update user set password=PASSWORD('mynewpassword') where user='root';"
killall -9 mysqld_safe
killall -9 mysqld
/etc/init.d/mysql start
Not work too, does anybody knows how can i change this root password?
Thanks