linux:mysql
access denied for user 'root'@'localhost'
- /etc/mysql/mysql.conf.d/mysqld.cnf
bind-address = 0.0.0.0
$ mysql -uroot -p -hlocalhost mysql> use mysql; mysql> update mysql.user set authentication_string=PASSWORD("PWD"), plugin="mysql_native_password" where User='root' and Host='localhost'; mysql> flush privileges;
linux/mysql.txt · Última modificação: 2022/05/25 16:24 por 127.0.0.1