docker 安装mysql 远程无法连接原因,没有修改远程授权
mysql -uroot -p -h 127.0.0.1mysql> select host,user,plugin,authentication_string from mysql.user;mysql> ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
·
mysql -uroot -p -h 127.0.0.1
mysql> select host,user,plugin,authentication_string from mysql.user;
mysql> ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
更多推荐
已为社区贡献1条内容
所有评论(0)