mysql /etc/init.d restart not working

/etc/init.d/mysql does not start mysqld at system start up on Ubuntu

grep debian-sys-maint /etc/mysql/debian.cnf
ERROR 1045 (28000): Access denied for user ‘debian-sys-maint’@’localhost’ (using password: YES)

mysql> UPDATE mysql.user SET Password = password(‘password’) WHERE User = ‘debian-sys-maint’;
service mysql restart

Leave a Reply

Your email address will not be published. Required fields are marked *