ROT4 Advanced Technology Solutions
ROT4 • ADVANCED TECHNOLOGY SOLUTIONS Preparing your digital experience

Just a moment — we are almost ready

Back to Knowledge Base
ROT4 KNOWLEDGE BASE

Create a MySQL database and connect a user

Create a database and a dedicated user, assign the correct privileges, and save the credentials needed by the website.

Intermediate10 minutesReviewed: August 2026

Before you start

  • Access to cPanel
  • A short database name
  • A unique strong password
  • The website application that will use the database
01

Open Database Wizard

In cPanel, open Databases and choose Database Wizard or MySQL Database Wizard, depending on the interface version.

cPanel → Databases → Database Wizard
Database Wizard page in the official cPanel documentation
The wizard creates the database, user, and privileges in one guided workflow.Official cPanel documentation
02

Create the database

Enter a short name without spaces and choose Next Step. cPanel adds the account prefix when database prefixing is enabled.

New Database → Next Step
03

Create the database user

Enter a username, generate a strong password, save it securely, and choose Create User.

Username + Strong Password
04

Grant privileges

Choose ALL PRIVILEGES for the dedicated website user and continue. Avoid sharing one user between unrelated sites.

ALL PRIVILEGES → Next Step
05

Record connection details

Save the full database name, full username, password, and localhost hostname for WordPress or Joomla configuration.

DB Name • User • Password • localhost

Common troubleshooting

IssueSolution
Access denied for userCheck the full prefixed username and password.
Error establishing a database connectionCheck database name, user, localhost, and privileges.
The user is not connected to the databaseUse Add User to Database and grant the required privileges.

Need help?

Send the error screenshot and service name to ROT4 support and we will help you complete the setup safely.

Talk to an engineer
ADVANCED TECHNOLOGY SOLUTIONS

Technology built around your business.

ROT4 designs, delivers, and supports secure technology environments that help organizations operate with confidence and scale without friction.

IT InfrastructureCybersecurityCloud & HostingDigital Solutions

Let's build what comes next.

+20 127 060 7155

Speak with our team

info@rot4.com.eg

Send us an email

Cairo, Egypt

Our base of operations