技术 · 思考 · 实践 · 成长

首页/MySQL8/正文

MySQL8创建数据库Access denied for user 'root'@'%' to database 'mytest'

MySQL81128 次阅读

表示被root用户拒绝


授权:

mysql> grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
Query OK, 0 rows affected, 1 warning (0.00 sec)

重启:

systemctl stop mysqld
systemctl start mysqld


无才无以立足,不苦不能成才。

评论交流

0 条评论 · 支持多级回复
验证码
暂无评论,来说说你的想法吧

相关文章

继续阅读