Enviado em 08/12/2014 - 11:51h
Pessoal,
root@soufraz-debian:~# service mysql stop
[FAIL] Stopping MySQL database server: mysqld failed!
root@soufraz-debian:~# service mysql reload
[....] Reloading MySQL database server: mysqld/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
root@soufraz-debian:~# service mysql restart
[FAIL] Stopping MySQL database server: mysqld failed!
[ ok ] Starting MySQL database server: mysqld already running.
root@soufraz-debian:~# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
root@soufraz-debian:~# mysqladmin -u root password 102030
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
root@soufraz-debian:~# sudo dpkg-reconfigure mysql-server
mysql-server mysql-server-5.5 mysql-server-core-5.5
root@soufraz-debian:~# sudo dpkg-reconfigure mysql-server-5.5
[FAIL] Stopping MySQL database server: mysqld failed!
invoke-rc.d: initscript mysql, action "stop" failed.
root@soufraz-debian:~# /etc/init.d/mysql stop
[FAIL] Stopping MySQL database server: mysqld failed!
root@soufraz-debian:~# mysqld_safe --skip-grant-tables &
[1] 8856
root@soufraz-debian:~# 141208 10:49:50 mysqld_safe Logging to syslog.
141208 10:49:50 mysqld_safe A mysqld process already exists
mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[1]+ Exit 1 mysqld_safe --skip-grant-tables
root@soufraz-debian:~#