Our 24/7 technical support team is ready to answer any specific questions.
Open a TicketAny dynamic website (like WordPress) needs a MySQL database to store texts, settings and users. The process involves three elements: Database Name, User and Password.
The simplest method in cPanel is to use the wizard.
Log in to cPanel.
Look for the Databases section and click MySQL Database Wizard.
Step 1 (Name): Enter a name for the database (ex: site_wp). Press Next Step.
Step 2 (User): Enter a username (can be the same as the database name) and a secure password. Press Create User.
Step 3 (Privileges): Check the ALL PRIVILEGES box to give the user permission to write and read data.
Finish: Press Make Changes. Now you have the data ready to install the site.
In DirectAdmin, the process is centralized in a single page.
Log in to DirectAdmin.
Go to Account Manager -> MySQL Management.
Click the Create New Database button (in the right corner).
Configuration:
Database Name: Name of the database.
Database User: The user (you can leave "Same as database name" checked).
Database Password: Enter a password or generate a random one (recommended).
Click Create Database.
Save data: The system will show you a screen with all the created data (Host, User, Password). Copy them, as you will need them in your site's configuration file.
Database host: For both control panels, the host is almost always localhost.
Prefix: Note that both the database name and the user name will have a prefix (usually the username of the hosting account), of the form: user_name. You must enter the full name in the site settings.
Security: Never use your cPanel/DirectAdmin password as your database password. Create unique passwords for each individual database.
You can choose which categories of cookies you wish to allow. Strictly necessary cookies are essential for the security and technical operation of the website and cannot be disabled.
Indispensable for page navigation, secure forms, anti-bot verification and remembering language preferences (RO / EN).
Helps us understand anonymously how the website is used and which sections are of greatest interest to visitors.
Enables enhanced interactive content, multimedia tools, document viewers and related portal features.