- In cPanel, open Manage My Databases (or MySQL Databases).
- Under Create New Database, type a name and click Create Database.
- Under MySQL Users, add a new user with a strong password.
- Under Add User To Database, pick the user and the database. Click Add.
- Tick All Privileges and save.
cPanel adds your account name as a prefix, such as account_dbname and account_user. Use the full names in your app.
Use it in your app
- Host: localhost
- Database, user and password: as you created them.
For WordPress, these values go into wp-config.php. See "How do I install WordPress with Softaculous?".
phpMyAdmin
- Open phpMyAdmin in cPanel.
- Choose your database on the left.
- Use Import to load a .sql file, or Export to download one.
- For large files, compress them or ask support for help.
Tips
- Give each site its own database and user.
- Export a copy before big changes.
- Delete unused databases.
If you get "Error establishing a database connection", see "How do I fix WordPress problems?" or check the credentials.
Still need help?
Ask Zeni in the chat bubble, or open a support ticket. We answer 24/7.