A MySQL database stores website data such as:
WordPress content
User accounts
Website settings
Orders and customer information
Application data
Most PHP applications like WordPress, Laravel, Joomla, Magento, and WHMCS require a MySQL database.
cPanel allows you to easily create and manage MySQL databases.
Before starting, ensure you have:
Active hosting account
cPanel access
Application requiring database support
Open your cPanel login URL:
https://yourdomain.com:2083or access through:
https://my.govaio.com/loginEnter your cPanel username and password.
After logging in:
Navigate to the Databases section
Click:
MySQL DatabasesBefore creating the database, it is important to understand:
Component | Purpose |
|---|---|
Database | Stores website/application data |
Database User | Account used to access database |
Privileges | Permissions granted to user |
Under Create New Database:
Enter database name.
Example:
website_dbClick:
Create DatabaseMost cPanel servers automatically prefix database names with your cPanel username.
Example:
cpaneluser_website_dbScroll to:
MySQL UsersEnter:
Field | Example |
|---|---|
Username | website_user |
Password | StrongPassword@123 |
Use the Password Generator for better security.
Recommended password features:
Uppercase letters
Lowercase letters
Numbers
Symbols
Click:
Create UserUnder:
Add User To DatabaseSelect:
Database User
Database Name
Click:
AddSelect required permissions.
For most applications, select:
ALL PRIVILEGESThen click:
Make ChangesYou now have:
MySQL Database
Database User
Database Password
User privileges configured
Setting | Example |
|---|---|
Database Name | cpaneluser_website_db |
Database User | cpaneluser_website_user |
Password | YourPassword |
Database Host |
Most cPanel hosting servers use:
localhostApplications like WordPress require database details during installation.
Example:
Field | Value |
|---|---|
Database Name | cpaneluser_website_db |
Username | cpaneluser_website_user |
Password | YourPassword |
Host |
phpMyAdmin allows you to manage databases visually.
Go to cPanel
Open:
phpMyAdminYou can:
Import databases
Export backups
Run SQL queries
Edit tables
Open phpMyAdmin
Select database
Click:
ImportUpload .sql file
Click:
GoOpen phpMyAdmin
Select database
Click:
ExportChoose format:
SQL
Download backup
Wrong username/password or missing privileges.
Verify credentials
Reassign privileges
Incorrect database host or credentials.
Verify:
Database name
Username
Password
Host
High database usage.
Optimize queries
Upgrade hosting plan if needed
Large SQL file.
Compress SQL file
Use SSH or BigDump for large imports
Use strong database passwords
Remove unused database users
Limit database privileges where possible
Regularly backup databases
Avoid sharing database credentials publicly
MySQL stores website and application data dynamically.
Usually:
localhostYes. Most hosting plans allow multiple databases.
Using:
phpMyAdmininside cPanel.
Yes. WordPress requires a MySQL database.
If you need assistance creating or managing MySQL databases, contact support:
📧 support@govaio.com