Your Webhosting Questions
Answered by the Webhosting Experts

Why do I get an error while creating a db from a webadmin in HC?

If you are getting the following error:

Error: 71400050 : Unable to perform action. Error: Access denied for user: ‘root@localhost’ (Using password: YES)

This errors occurs if the mySQL root user specified in Hosting Controller settings doesn’t has sufficient database privileges for the required operation.

Grant all privileges to ‘root’ user and set this user in mySQL settings in Hosting Controller.

To grant privileges to root user, follow these steps:

Open command prompt. To open command prompt, click Start, click Run, and enter cmd.exe.
Go to /bin directory of mySQL (C:/mySQL/Bin).
Enter following command on command prompt:mysql -h -u root -p
Set privileges for root user by entering following command on mySQL command line:mysql> grant all privileges on *.* to [email protected] identified by ‘password’ with grant option;.

Note: ‘password’ is the password of root user and it must be given in the quotes.

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your account or if you are on the go, please reach out from your valid account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +