Help Center/ Relational Database Service_RDS for MariaDB/ FAQs/ Database Permissions/ How Do I View Authorized Databases After a Local Client Is Connected to an RDS for MariaDB Instance?
Updated on 2025-06-24 GMT+08:00

How Do I View Authorized Databases After a Local Client Is Connected to an RDS for MariaDB Instance?

After connecting to an instance using a local client, run the following command to grant permissions to view databases. In the command, ip indicates the local IP address.

show grants for root@'ip';

show grants for root@'%';