Help Center > > FAQs> Database Permission> How Do I View Authorized Databases After a Local Client Is Connected to a DB Instance?

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

Updated at: Jun 09, 2021 GMT+08:00

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@'%';

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel