Mysql Passwort User Root

Standard:
root / kein PW

Änderung in gewünschtes PW über Verwaltungskonsole,
danach allerdingskein Zugriff mehr..

to do:
nano /etc/mysql/debian.cnf (Password notieren)
mysql -u root -p
Hier das geänderte PW eingeben, sollte funktionieren...;-)
GRANT SHUTDOWN ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'the_password'
GRANT SELECT ON mysql.user TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'the_password';
mysql> \q

Altenativ:
GRANT ALL PRIVILEGES ON *.* TO 'debian-sys-maint'@'localhost' IDENTIFIED BY 'the_password'