Help & Setup

Data Centre

Resources


Home > Help > Advanced Hosting Setup > Creating A MySQL Database

Creating A MySQL Database

Before you can use a MySQL database you need to create it and a user to access it. You can do this from your Hosting Manager. When you create a database and username your Hosting Manager automatically prefixes them with your Hosting Manager username. Follow the steps below, replacing “user” with your Hosting Manager username.

1. Login to your Hosting Manager.

2. Click “MySQL Databases”

3. Next to “Db:” type a database name (e.g. “db”) and click “Add Db”

4.

Return to the “MySQL Databases” page

5.

Under “Users” type a username (e.g. “me”) and a password and click “Add User”

6.
Return to the “MySQL Databases” page

7. Select the newly created user (e.g. “user_me”) and the newly created database (e.g. “user_db”) and click “Add User to Db”

8. Add ‘%’ to access hosts. This will allow the users to connect to the database

Use the following details to connect to databases

Server: localhost
User: user_me
Database: user_db
Password: The password you entered when you created user_me

 

Domain Names | Web Hosting | Email Hosting | DNS Hosting | Website Builder | Search Engines | SSL Certificates
Policies & Privacy | About Us | Help | Site Map | Resellers | Contact