mysql 安装配置
http://blog.csdn.net/huoyunshen88/article/details/18702405
配置主从分离:
http://www.cnblogs.com/zhoujie/p/mysql1.html
grant all privileges on *.* to msg_wr@'%' identified by 'msg_wr123$';
记得随时重启 /etc/init.d/mysqld restart!!!!
扫描二维码关注公众号,回复:
227128 查看本文章
mysql读写分离 代码配置: