What is Manage My Databases in cPanel?
The Manage My Databases feature in cPanel lets you create and manage MySQL/MariaDB databases and connect them to your websites and applications. It is an essential tool for CMSs such as WordPress, Joomla, Drupal, Magento or custom applications that need dynamic content.
Simply put, this is where all the basic setup happens:
-
Creating a database.
-
Creating a MySQL user.
-
Assigning a user to a database.
-
Managing privileges.
How to create a new database in cPanel
Step 1: Create the database
-
Log in to cPanel.
-
Select MySQL Databases (or Manage My Databases).
-
In the Create Database field, type the name of the database.
-
cPanel will add a prefix (e.g.
user_dbname).
-
-
Click Create Database.
Step 2: Create a database user
-
In the MySQL Users section, type a username and password.
-
A prefix is added here as well (e.g.
user_dbuser). -
Use a strong password (at least 12 characters, including symbols).
-
-
Click Create User.
Step 3: Add the user to the database
-
In the Add User to Database section, select the user and the database.
-
Click Add.
-
On the privileges screen, select:
-
ALL PRIVILEGES for full access (usually required for a CMS).
-
Or select specific privileges (SELECT, INSERT, UPDATE, etc.) if you want restrictions.
-
-
Click Make Changes.
How to manage existing databases
-
Check Database: checks for errors and inconsistencies.
-
Repair Database: tries to fix minor errors.
-
Rename Database/User: not allowed in some cPanel versions.
-
Delete Database/User: deletes the database or the user (careful, this cannot be undone).
Relationship with phpMyAdmin
-
Manage My Databases is used for creating/connecting.
-
phpMyAdmin is used for the content (tables, data, queries).
-
The two tools complement each other.
Practical examples
Example 1: Creating a database for WordPress
-
Create the database
user_wpdb. -
Create the user
user_wpuserwith a strong password. -
Add the user with ALL PRIVILEGES.
-
During the WordPress installation, enter the details:
-
DB Name:
user_wpdb -
DB User:
user_wpuser -
DB Pass: (your password)
-
DB Host:
localhost
-
Example 2: A second application with its own database
-
If you have Joomla and WordPress in the same account, create two separate databases for better organization and security.
Example 3: Identifying and fixing errors
-
If the site shows the error “Error establishing a database connection”:
-
Check that the user has been correctly added to the database.
-
Use Check Database.
-
Best practices
-
Use strong passwords and do not reuse them.
-
Do not share the same user across many databases – it is better to have a separate user per application.
-
Keep database backups through JetBackup before making major changes.
-
Prefer a utf8mb4 collation for full support of Greek characters and emojis.
-
Restrict the privileges of users who do not need full access.
Frequently Asked Questions
What is the difference between Manage My Databases and phpMyAdmin?
The first is for creating/connecting databases and users, while the second is for editing data.
Which hostname should I use for my database?
On most shared hosting it is localhost. On a VPS it may be different (e.g. an IP or domain).
Can I create a database with a name without the prefix?
No, cPanel automatically adds a prefix to avoid conflicts between users on the same server.
What should I do if the database fills up?
You can optimize tables through phpMyAdmin, delete unnecessary data or upgrade to a plan with more capacity.
Conclusion
Manage My Databases in cPanel is where the management of every database begins. From here you create databases and users and connect them with the right privileges. Combined with phpMyAdmin and backup tools (JetBackup), you can manage your databases securely and efficiently, whether you run WordPress, Joomla or any other dynamic application.