Log in to cPanel using your username and your cPanel password at http://yourdomain.com/cpanel,
where yourdomain.com is your domain name.
1. Click on MySQL Database showing in Databases Menu
2. Now just type here your database name in New Database Field and click Create Database.
After Create Database we have to create a Database user that will access that Database.
3. Just type your database user name and type password and confirm password in both fields and click Create User.
After creating a Database User successfully now we have to connect that Database User with required Database Name.
4. Select User and Database from drop down menu and Click on Add Button.
After Click on Add button we have to assign User Privileges for mentioned MySQL Queries.
In my case i have assigned All Privileges to that database user to overcome any error in future.
Click on Make Changes to assign Privileges to that Database User.
- database, database user, mysql
- 0 کاربر این را مفید یافتند