设置 Mysql 允许从外部访问

2016-11-23  本文已影响11人  saronic

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;

上一篇 下一篇

猜你喜欢

热点阅读