Creating a MySQL Database
To create a new database and user:
- Log in to cPanel
- Go to Databases > MySQL Databases
- Under Create New Database, enter a database name
- Click Create Database
- Scroll to MySQL Users > Add New User
- Enter a username and strong password
- Click Create User
- Scroll to Add User to Database
- Select the user and database, click Add
- Select the privileges (ALL PRIVILEGES for full access)
- Click Make Changes
Remote Access: To allow remote database connections, add your IP address under Remote MySQL.