Shared Hosting
WordPress
Creating a MySQL database
Shared & WordPress Hosting
6 views
1 min read
Updated 1 hour ago
Quick Answer
Create a database and a user for your WordPress, Laravel, or any other app that needs MySQL.
Most dynamic websites need a database. On Nakroteck hosting you can create one in under a minute.
In cPanel
- Log in to cPanel from the client area.
- Under Databases, click MySQL Databases.
- Under Create New Database, type a name. cPanel adds your account prefix automatically.
- Scroll to MySQL Users. Create a user with a strong password.
- Scroll to Add User To Database. Pick the user and the database, then grant ALL PRIVILEGES.
In Plesk
- Log in to Plesk from the client area.
- Click Databases in the left sidebar.
- Click Add Database.
- Give the database a name, choose a related site, and create a new database user in the same form. Save.
Connection details for your app
- Host: localhost in almost every case.
- Database: the name you just created.
- User: the user you created.
- Password: the password you set.
- Port: 3306 (you rarely need to set this).
phpMyAdmin
Both cPanel and Plesk include phpMyAdmin. Open it from the control panel to run SQL queries, export the database as a backup, or import an existing database file.
Was this article helpful?
Thank you for your feedback.
Related Articles
Logging into cPanel or Plesk
Shared & WordPress Hosting
Uploading your website via File Manager or FTP
Shared & WordPress Hosting
Restoring from a daily backup
Shared & WordPress Hosting
Still need help?
If this article did not solve it, open a support ticket and we will see which article you already checked.
Table of Contents
More in Shared & WordPress Hosting
Logging into cPanel or Plesk
Uploading your website via File Manager or FTP
Creating a MySQL database
Restoring from a daily backup