PDA

View Full Version : Hanged: mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql



Fli
12-14-2014, 03:03 PM
This is message that hangs on the screen:

mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql

It is result of command:

mysqld_safe --skip-grant-tables

What worked is to open new SSH/PuTTY session and then do command "mysql" , there im in mysql command line without entering password and i can for example change mysql root password by commands:


mysql --user=root mysql
update user set Password=PASSWORD('YourNewMysqlPassword') where user='root'; flush privileges; exit;/etc/init.d/mysqld start