Help Center/ Relational Database Service/ FAQs/ Database Permission/ How Do I View Authorized Databases After a Local Client Is Connected to an RDS DB Instance?
Updated on 2024-10-08 GMT+08:00

How Do I View Authorized Databases After a Local Client Is Connected to an RDS 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@'%';