Knowledgebase
You are here: MyAccount Portal > Knowledgebase > How do I add MySQL databases?
How do I add MySQL databases?
|
How do I create a MySQL database?
To create a mysql database in cPanel.
1. Login to cPanel
2. Click on "MySQL Databases"
3. Next to "Db:": enter a database name (e.g. "yourdomain_db") and click "Add Db".
4. Return to the "MySQL Databases" page.
5. Under "Users" enter a username (e.g. "yourdomain_user") and a password and click "Add User".
6. Return to the "MySQL Databases" page.
7. Select the newly created user (e.g. "yourdomain_user") and the newly created database (e.g. yourdomain_db") and click "Add User to Db"
Now use the following details to connect to the database:
Server: localhost
User: yourdomain_user
Database: yourdomain_db
Password: The password you entered when you created yourdomain_user |
|
Add to Favourites
Print this Article
|