shardingsphere
shardingsphere copied to clipboard
ShardingSphere-Scaling Mysql datasource checker is incomplete
As a mysql slave, we should have SELECT, REPLICATION SLAVE, REPLICATION CLIENT ON *.* privileges.
Current code only check SELECT and REPLICATION CLIENT privileges, it's not enough.
And we also should check some database variables(such as if binlog is open).
Can you make a pr to improve it.
@kimmking sure.