Mysql-server reset root password Kategoria: Linux | Tagi: mysql | Autor: Bartłomiej Gałęzia

sudo mysqld_safe --skip-grant-tables
sudo mysql --user=root mysql
update user set authentication_string=password('1111') where user='root';
flush privileges;

https://dba.stackexchange.com/questions/55116/mysql-login-after-secure-installation

https://stackoverflow.com/questions/30692812/mysql-user-db-does-not-have-password-columns-installing-mysql-on-osx

Dodaj komentarz

Brak komentarzy, bądź pierwszy i dodaj swój komentarz