Debian woke up in a bad mood. I worked on it until 9pm yesterday using LAMP.
The process that I made yesterday to today was off and on the machine.
When I called today mysql just does not work. Follow all I try to do:
Detail. The /var/mysql.err logs and /var/mysql.log contains no information.
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
service mysqld stop
actually worked, so the same locked/damaged/confused process appears to still be running. You may need to manually murder that process and hope the db files aren't corrupted. Also... Are you sure that you have drive space left?