You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/04/05 06:03:59 UTC

[GitHub] [shardingsphere] PengWangSan commented on pull request #9928: Fixes sharding jdbc startup error when user has no permission of tabl…

PengWangSan commented on pull request #9928:
URL: https://github.com/apache/shardingsphere/pull/9928#issuecomment-813207200


   > Hi @PengWangSan ,
   > 
   > Thanks for your PR.
   > We suggest users configure ShardingSphere with a super user. However, if you only have some users with restricted privileges, I guess this issue is not just about PostgreSQL, but `MySQL` and other databases. How do you think?
   
   HI @tristaZero ,Your suggestion is good,but in some company,the super user can't be granted for devloper team. In sharding jdbc, the loadAllTableNames method invoke jdbc driver for getting result. I have tried, mysql driver will only return the tables that has  permission. so it is ok for mysql.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org