老师好:
最近在学习centos搭建lamp环境,在csdn中找到好多帐子很实
用,也学到不少命令。
现在我的问题是装到mysql这一环节给卡住了,
我的安装环境是:CentOS-7-x86_64-Minimal-1810
根据这个贴子https://blog.csdn.net/qq_38821502/article/details/90053717 安装很顺利,但是到了第10.授予root用户远程访问权限中的4)grant all privileges on . to ‘root’@’%’ identified by ‘tsk007’ with grant option;
这一步我的机子出现错误提示,想问一下这应该怎么解决?
ERROR 1064 (42000): 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 '. to ‘root’@’%’ identified by ‘123456789’ with grant option' at line 1