How do I create a MySQL user?

  1. Login to your cPanel account at https://your-domain.dk/cpanel

  2. Go to Databases > MySQL®-databases
    MySQL Database Knap
  3. Enter the desired name of your user - note that all users for your database will be prefixed with your cPanel account username.
    Remember to enter a strong password. Feel free to use cPanel's Password Generator for this purpose.

    MySQL Opret Bruger

  4. Click on Create user

  5. You can now set up permissions for a user for the new database as described here.

We recommend a separate user for each database gets its own user to limit the damage in the event that a third party gains unwanted access to your database user.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I set the premissions for a MySQL user?

For security reasons it is important to restrict the permissions of the MySQL users. If a user is...

How do I create a MySQL database?

Login to your cPanel account at https://your-domain.dk/cpanel Go to Databases >...

How do I delete a MySQL user?

Login to your cPanel account at https://your-domain.dk/cpanel Go to Databases >...

How do I delete a MySQL database?

Log in to your cPanel account at https://your-domain.dk/cpanel Go to Databases >...

Why can't I access my MySQL database from my computer or another website?

For security reasons, it is only possible to connect to the MySQL server via local connections by...