Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your 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.
Hi @cnelson,
To create a user, you can type in:
CREATE USER 'myuser'@localhost IDENTIFIED BY 'mypassword';
Where myuser is the name of your user and mypassword is your actual password.
To grant permissions to your user to a specific database, type in:
GRANT ALL privileges ON 'mydb'.* TO 'myuser'@localhost;
where mydb is is your actual Database name and myuser is your DB username.
Once done, type in
FLUSH PRIVILEGES;
So the changes take effect.
You can check if your user has the proper permissions by typing in:
SHOW GRANTS FOR 'myuser'@localhost;
Hello, @cnelson
I’ll just want to add that we have an existing tutorial on How To Create a New User and Grant Permissions in MySQL which you can check here:
KFSys’s answer is more than enough to help you through the process of creating an additional user, but you can also check our article as well.
Hope that this helps! Regards, Alex