Help Center/ Relational Database Service/ User Guide (Ankara Region)/ FAQs/ Database Permission/ How Do I View Authorized Databases After a Local Client Is Connected to a DB Instance?
Updated on 2024-04-11 GMT+08:00

How Do I View Authorized Databases After a Local Client Is Connected to a DB Instance?

After connecting to the database on a local client, run the following command to grant permissions to view the database. In the command, ip indicates the local IP address.

show grants for root@'ip';

show grants for root@'%';