evil.czAfter power failure mysql refuses root login: Access denied for user 'root'@'' (using password: YES)
Try to log in WITHOUT a password: mysql -u root
If successfull, check users table content:
> use mysql;
> select * from user;
All passwords are probably empty - means login without password is poossible now ;-(
GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY 'new_password' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'root'@'machine_name' IDENTIFIED BY 'new_password' WITH GRANT OPTION;
FLUSH PRIVILEGES;
Change machine_name and new_password to suit your needs.
Check password for 'debian-sys-maint'@'localhost' !!! This row is probably corrupted too - see /var/log/syslog for message Access denied for user 'debian-sys-maint'@'localhost' (using password: YES) after boot. More information here.
Poslední komentáře
14 týdnů 4 dny zpět
17 týdnů 18 hod zpět
17 týdnů 5 dnů zpět
17 týdnů 5 dnů zpět
17 týdnů 5 dnů zpět
18 týdnů 6 dnů zpět
20 týdnů 1 den zpět
30 týdnů 5 dnů zpět
31 týdnů 4 dny zpět
31 týdnů 4 dny zpět