Once you have created a MySQL Database, you need to add at least one user to be able to access it. But before you can add a user, you need to create it, to do this, follow these steps, in order:
- Log in to your control panel;
- In the "DATABASES" tab, click on the "MySQL® Databases" icon:
- Once in your DB management interface, in the "MySQL Users" section, enter the name of the new MySQL user, for example "something_diego" :
Note: Please note that all of your MySQL user names will always be prefixed with your account name. This is necessary to ensure that two users/accounts cannot create two MySQL users with the same name. - Generate or enter a password and confirm it in the following fields "Password" and "Passwordconfirmation " respectively. Be sure to store them in a safe place and away from prying eyes;
- Finally, you can click on the "Create a user " button to finally create the user;
- The interface confirms the creation of your new user, by clicking on "Back", you can return to the MySQL management interface and you can verify that your new user is indeed created, in the list of "Current users " at the bottom of the page.
Congratulations: you have just created your MySQL user!
But for your CMS or your own site to access your database, you must have created a MySQL database and associate the user to it, you will find in the following topics how to proceed: