tech:mysql_mariadb_-_reset_root_pasword
Ceci est une ancienne révision du document !
MySQL / MariaDB - Reset root pasword
Méthode 1
sudo /etc/init.d/mysql stop
sudo mysqld_safe --skip-grant-tables &
mysql -uroot
USE mysql; -- UPDATE user SET authentication_string=PASSWORD("mynewpassword") WHERE User='root'; UPDATE USER SET Password=PASSWORD("mynewpassword") WHERE USER='root'; FLUSH PRIVILEGES; QUIT
tech/mysql_mariadb_-_reset_root_pasword.1742825205.txt.gz · Dernière modification : de 127.0.0.1
