mysql 安装相关资料

mysql 安装

http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html


设置从库

http://www.cnblogs.com/lben/archive/2012/11/19/2777632.html


设置mysql允许外网访问


GRANT ALL PRIVILEGES ON *.* TO 'root'@'%'  IDENTIFIED BY 'admin123'  WITH GRANT OPTION;
flush privileges;

如果你想允许用户root从ip为192.168.1.104的主机连接到mysql服务器

GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'192.168.1.104'   IDENTIFIED BY 'admin123'  WITH GRANT OPTION; 
flush privileges;


你可能感兴趣的:(mysql 安装相关资料)