How do I add a mysql database?

  Print
  • 22/07/2007 5:56 AM

To create a MySQL database:

- Go to 'Manage MySQL' under the database header in Cpanel

- In the DB text field, type the name you wish to give your database
- Click the Add DB button
- At the bottom of MySQL Manager under 'Users' type a
database user name and password
- Click the Add User button

Now for the important part that everyone misses:

You should now see your new user listed in the dropdown menu after "User:" and your new database listed in the "DB:" dropdown menu. (if you don't try refreshing the page in your browser) Then, select BOTH the username AND the DATABASE NAME and click the Add User to DB button to add your user to your database and you're done.

Now that you have created a database, created a database user and have granted that user access to the database your MySQL database is fully ready to use.

Did you find this article useful?   0 out of 0 people found this article useful.

  • Comments

Add Comment

Replying to  

  Refresh
Self-Hosted Help Desk Software by SupportPal.

Login

 
Forgot password?
Register now

Language