在华为云服务器上 安装mysql CentOS 8.0
前面是跟着网上大佬博客配置的 点击这里
后面发现mysql的版本和他不一样,用起来会报错,所以整理一下后面遇到的错误和我的解决方法(我不生产博客,我只是博客的搬运工。
先是上面博客的第9个步骤, 命令改为:
Grant all privileges on test.* to 'user'@'%';
然后我出现了一个报错:You are not allowed to create a user with GRANT;
解决办法是先执行:
update user set host='%' where user=
原创
2020-06-18 14:05:13 ·
1735 阅读 ·
0 评论