原文:mysql8设置远程连接报错grant all privileges on *.* to 'root'@'%' identified by

ERROR : You have an error in your SQL syntax check the manual that corresponds to your MySQL server version for the right syntax to use near identified by root with grant option at line mysql 中已经不支持gr ...

2020-03-20 14:50 2 10335 推荐指数:

查看详情

Mysql授权GRANT ALL PRIVILEGES

1。 改表法。 可能是你的帐号不允许从远程登陆,只能在localhost。这个时候只要在localhost的那台电脑,登入mysql后,更改 "mysql" 数据库里的 "user" 表里的 "host" 项,从"localhost"改成"%" Sql代码 ...

Sat May 28 02:01:00 CST 2016 0 11134
mysql 赋给用户远程权限 grant all privileges on

登陆 在本机上使用命令行登陆,并切换到mysql库 更改表 要查看user表中user=’root’的对应情况,根据实际需求来更改表信息 更改权限 使用grant all privileges on来更改用户对应某些库的远程权限 语法模板 ...

Sat Mar 10 04:08:00 CST 2018 0 3501
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM