美文网首页
设置 Mysql 允许从外部访问

设置 Mysql 允许从外部访问

作者: saronic | 来源:发表于2016-11-23 10:35 被阅读11次

By default, mysql username and password you are using is allowed to access mysql-server locally. So need to update privilege.

Run a command like below to access from all machines.

mysql> GRANT ALL PRIVILEGES ON . TO 'USERNAME'@'%' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION;

相关文章

网友评论

      本文标题:设置 Mysql 允许从外部访问

      本文链接:https://www.haomeiwen.com/subject/saampttx.html