Your Webhosting Questions
Answered by the Webhosting Experts

Create a database user through the MySQL CLI

Through the mysql command line, this is accomplished by running the following commands.

In SSH, type “mysql” to access the mysql command line. Then type:

ON test_database.*
TO username@domain
IDENTIFIED BY 'password';


test_database is the database you created above.

username is the MySQL login to create

domain is the domain you’ll be connecting from — usually localhost, use “%” (double quote, percent, double quote) for any remote host, or specify a specific domain.

password is your mysql password to create enclosed in single quotes.

For example:
ON forum2_database.*
TO admin_user@localhost
IDENTIFIED BY 'forum911';

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +