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/08/04 11:27:32 UTC

[GitHub] [shardingsphere] menghaoranss commented on issue #11550: SQL checking failed

menghaoranss commented on issue #11550:
URL: https://github.com/apache/shardingsphere/issues/11550#issuecomment-892580692


   > @menghaoranss
   > I found that when I connected to Alibaba RDS
   > class MySQLPrivilegeHandler
   > 
   > ```
   >     private void addToPrivilegeTypesIfPresent(final boolean hasPrivilege, final PrivilegeType privilegeType, final Collection<PrivilegeType> target) {
   >         if (hasPrivilege) {
   >             target.add(privilegeType);
   >         }
   >     }
   > ```
   > 
   > hasPrivilege property is always false
   > becase `resultSet.getBoolean()` methods always false
   > 
   > But there is no such problem when using mysql
   
   ShardingSphere load all privileges from actual database, so please check the user privileges in RDS.


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

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

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