How To Create a MySQL Database in cPanel

  1. Go to the MySQL Database Wizard under the Databases heading in cPanel.
  2. Enter a name for the database and click Next Step.
  3. Create a user for the database by entering a username and password. Make sure you note this password as you will need it later when connecting. Click Create User.
  4. Check the All Privileges box and click Next Step.
  5. Your MySQL database and user have been created. You can configure your application/scripts using the following details:

Host: localhost
Port: 3306
Database name: As chosen in setup
Database user: As chosen in setup
Database password: As chosen in setup

If you need an external application to be able to access your database, please follow this article for enabling remote MySQL access.

  • 18 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Enabling Remote MySQL Access in cPanel

If you require remote MySQL access to your database (such as access from a remote website or...

What Are My Nameservers?

After you purchase web hosting from us, you need to point your domain to our servers. You can do...