这条语句适用于MySQL8.0之前的 而MySQL8.0及之后的,设置远程连接权限要用下面的语句才可以 create user root@'%' identified by '123456'; grant all privileges on *.* to root@'%' with grant ...
mysql8设置远程连接报错grant all privileges on *.* to 'root'@'%' identified by ERROR 1064 (42000): You have an error in your SQL syntax; check ...
near 'identified by 'root' with grant option' at li ...
那是一个秋天 草根程序员7年百万年薪之路:https://www.cnblogs.com/killallspree/p/12495795.html ...
查了一圈,是mysql8的语法改变了 应该先执行 可以看到直行成功 然后再提权 分开执行,就可以成功 然后刷新一下 ...
1. mysql -u root -pvmwaremysql>us ...
遇到了 SQLException: access denied for @'localhost' (using password: no) 解决办法 grant all privileges on *.* to joe@localhost identified ...