Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 44 : | Ligne 44 : | ||
|+ | |+ | ||
|- | |- | ||
| Voir | | <span>Voir</span> <favorites keyword=how-to-reset-the-root-mysql span=1/> | ||
|} | |} | ||
sudo mysqld_safe --skip-grant-tables
sudo mkdir -p /var/run/mysqld
sudo chown mysql:mysql /var/run/mysqld
| Voir |
mysql -u root
use mysql;
UPDATE user SET authentication_string=null WHERE User='root';
FLUSH PRIVILEGES;
sudo /etc/init.d/mysql restart
sudo mysql
use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'root';
FLUSH PRIVILEGES;
Voir
|