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.

Hjälpte svaret dig?

 Skriv ut denna artikeln

Läs även

How to enable spam protection in cPanel

cPanel Paper Lantern end-user series 7. How to enable spam protection in cPanel This demo...

How to use the Index Manager in cPanel

cPanel Paper Lantern end-user series 26. How to use the Index Manager 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 setup hotlink protection in cPanel

cPanel Paper Lantern end-user series 20. How to setup hotlink protection in cPanel This demo...

How to setup a cron job in cPanel

cPanel Paper Lantern end-user series 28. How to setup a cron job in cPanel This demo assumes...