开发者社区 问答 正文

运行这句ssql 报错了 grant all privilegeson?报错

 #1064 - 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 'privilegeson *.* to test@"%" identified by '123456' WITH GRANT OPTION' at line 1

 

运行这句ssql 报错了

grant all privilegeson *.* to   test@"%" identified by '123456' WITH GRANT OPTION

展开
收起
爱吃鱼的程序员 2020-06-05 15:12:29 607 分享 版权
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB
                        <p>这句成功了</p> 
    

    grant all privileges on *.* to 'root'@'%'

    2020-06-05 15:12:46
    赞同 展开评论