Ändern Sie das MySQL -Passwort aus der Befehlszeile
ALTER USER 'root'@'localhost' IDENTIFIED BY 'New-Password';
Impossible Impala
ALTER USER 'root'@'localhost' IDENTIFIED BY 'New-Password';
use mysql;
update user set authentication_string=PASSWORD("mynewpassword") where User='root';
flush privileges;
quit
-- In case the UPDATE command returns "Column 'Password' is not updatable" run
ALTER USER 'root'@'localhost' IDENTIFIED BY 'newPassword';
flush privileges;
ALTER USER 'root'@'localhost' IDENTIFIED BY 'NewPassword';
$ sudo apt install mysql-server
$ sudo cat /etc/mysql/debian.cnf
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'yourpasswd';
exit;