Mysql读写分离,spring,mybatis

 

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!!!!

 

 

 mysql读写分离  代码配置:

http://blog.csdn.net/huoyunshen88/article/details/36674861

 

 

 

 

 

 

你可能感兴趣的:(spring,mysql,mybatis,Mysql读写分离)