X

Select Your Currency

$ US Dollar Euro £ British Pound
X

Select Your Currency

$ US Dollar Euro £ British Pound

Knowledge Base

HomepageKnowledge BaseMySQL QuestionsI get 'access denied' errors when t...

I get 'access denied' errors when trying to connect to MySQL

If you cannot connect to the MySQL server, there could be some causes:

- Incorrect MySQL hostname.
You must use the MYSQL IP as your MySQL hostname.

- Incorrect MySQL username / password or database name.
You can find / setup the MySQL username and database by clicking on MySQL icon in the from control panel. You can also change the MySQL user password from here.

- You have not added MySQL user to the database.
This is a very common issue that people forget to do. In order to have a fully operational MySQL database you must also add a MySQL user to the MySQL database and assign full permissions. You can achieve this by clicking on the 'Add' button under 'cPanel' -> 'MySQL Databases' -> 'Add User To Database' section.

If you are still unable to connect to MySQL you can try to confirm whether it is a problem with the server or with your script: if you can enter the phpMyAdmin from the members area that means everything is working fine on our side and it must be a problem with your PHP script. Contact as and include as much detail as you can about the problem and we will try to help you.

Can't find the information you are looking for?

Create a Support Ticket
Did you find it useful?
(18014 times viewed / 0 people found it helpful)

Top