ich weiß über dieses Thema wurde hier schon viel geschrieben, aber trotzdem brauch ich eure hilfe.
Wenn ich den mysql-server start, stoppe oder restart aufrufe bekomme ich folgende Fehlermeldung:
Code: Alles auswählen
root@altair:/var/log/mysql # /etc/init.d/mysql restart
Stopping MySQL database server: mysqld...failed.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
Killing MySQL database server by signal: mysqld.
Starting MySQL database server: mysqld.
Checking for crashed MySQL tables in the background.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
root@altair:/var/log/mysql # /usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
- Steht das Passwort wirklich in /etc/mysql/debian.cnf unverschlüsselt drin?
- wie setzte ich das Passwort für den debian user neu? bitte eine erklärung für blöde! mach ich das mit
Code: Alles auswählen
mysqladmin -u debian-sys-maint -p [passwort aus debian.cnf]
Code: Alles auswählen
mysql -u root -p mysql
update users set passwort = [eintrag aus debian.cnf] where user = 'debian-sys-maint';