Creating a user and granting privileges to the user

Hi All,

This is how the use case goes.

I have to create a new database, a new user and grant privileges to the newly created user for the db which i just created.

The problem is that i am not able to grant the privileges as it says access denied to user.

My first problem:- How do i grant a root access to a user which i created from the dashboard.

If not root user:- How do i get the root credentials to make a new user.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You can do this from any database tool or command line tool. How To Create a New User and Grant Permissions in MySQL

This is not possible with the Managed databases, if they allow you to have root access to the managed cluster then the cluster would no longer be managed as a user can make all kinds of changes and break the cluster.