MySQL Server 开启远程访问

MySQL Server 开启远程访问

发布日期: 22nd Aug, 2014
分享:

修改 my.cnf 配置文件

nano /etc/mysql/my.cnf

修改权限

mysql -u root -p mysql>GRANT ALL PRIVILEGES ON *.* TO 'USERNAME'@'%' IDENTIFIED BY 'PASSWORD' WITH GRANT OPTION; mysql>FLUSH PRIVILEGES;

分享:

0 Comments

  • Dave Austin 1 day ago

    Reply

发表评论