1.修改程序中获取redis连接为哨兵模式并测试
2.修改实时统计配置同步到redis集群时使用分布式锁避免多tomcat重复执行
This commit is contained in:
@@ -6,9 +6,9 @@ set global read_only=0;
|
||||
|
||||
create user 'galaxy'@'%' identified by 'ceiec2018!';
|
||||
|
||||
create database galaxy_test DEFAULT CHARSET utf8mb4 COLLATE utf8mb4_general_ci;
|
||||
create database galaxy-service DEFAULT CHARSET utf8mb4 COLLATE utf8mb4_general_ci;
|
||||
|
||||
grant all privileges on galaxy_test.* to 'galaxy'@'%' identified by 'ceiec2018!';
|
||||
grant all privileges on galaxy-service.* to 'galaxy'@'%' identified by 'ceiec2018!';
|
||||
|
||||
flush privileges;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user