Log in to cPanel, open MySQL Database Wizard in the Databases section, then name the database, create a user and grant ALL PRIVILEGES. cPanel adds your account username as a prefix to the database name. The manual route uses MySQL Databases, where you create the database and user separately and link them under Add User To Database. Your application connects with the database name, username and password.
MySQL databases store all the content, settings and user data for applications like WordPress, Drupal and Joomla. Without a properly configured database, these applications cannot function and will display connection errors.
You will create a MySQL database in cPanel, configure a database user with appropriate permissions and connect it to your application. cPanel offers two methods: a guided wizard for beginners or manual setup for more control.
The MySQL Database Wizard guides you through database creation in three steps. This method works well if you are setting up a single database for one application.





Your database is now ready. The wizard displays a completion message with your database name and username. You can create additional databases by clicking Create another database or return to cPanel.
Manual database creation gives you more control over the process. This method works well when you need to create multiple databases or manage existing users separately.





Your database and user are now configured. You can create additional databases or users by repeating these steps.
You have created a MySQL database in cPanel and configured a user with full permissions. Your application can now connect using the database name, username and password you created.
Keep your database credentials secure. Store them in a password manager or secure note. If you need to create additional databases for other applications, repeat the process with different names. Our guide on installing WordPress in cPanel shows you how to use these credentials during application setup.
Did this guide solve your problem?
Our UK support team answers tickets and live chat every day. Send us the guide you were following and where it stopped working.
Related guides
cPanel hosting with the tools these guides use, backed by UK support.
Get cPanel HostingProtect your visitors with SSL certificates – from budget DV to premium EV certificates.
Get SSL Certificate