How to create a MySQL database in cPanel

cPanel Paper Lantern end-user series

25. How to create a MySQL database in cPanel

This demo assumes you've already logged in to cPanel, and are starting on the home screen.
FutureHosting Best Hosting in Ireland - How to create a MySQL database in cPanel

Now let's learn how to create a MySQL database.

Click the "MySQL Database Wizard" icon.
FutureHosting Best Hosting in Ireland - How to create a MySQL database in cPanel

Enter a name for the new database, then click "Next Step".
FutureHosting Best Hosting in Ireland - How to create a MySQL database in cPanel

Now we have to create a user for this database. Enter a username and create a password, then click "Create User".
FutureHosting Best Hosting in Ireland - How to create a MySQL database in cPanel

Click the "All Privileges" check box, then click "Next Step".
FutureHosting Best Hosting in Ireland - How to create a MySQL database in cPanel

That's it! My MySQL database has been created, and the new user added to the database. The database name, username and password will all be needed for scripts that need to connect to the database.
FutureHosting Best Hosting in Ireland - How to create a MySQL database in cPanel

This is the end of the tutorial. You now know how to create and setup MySQL databases.

Cette réponse était-elle pertinente?

 Imprimer cet article

Consultez aussi

How to add a record with the DNS Zone Editor in cPanel

cPanel Paper Lantern end-user series 14. How to add a record with the DNS Zone Editor in cPanel...

How to add an MX entry in cPanel

cPanel Paper Lantern end-user series 8. How to add an MX entry in cPanel This demo assumes...

How to create an email account in cPanel

cPanel Paper Lantern end-user series 2. How to create an email account in cPanel This demo...

How to backup your website in cPanel

cPanel Paper Lantern end-user series 15. How to backup your website in cPanel This demo assumes...

How to use the IP Blocker in cPanel

cPanel Paper Lantern end-user series 19. How to use the IP Blocker in cPanel This demo assumes...