Trying to remotely connect to mysql database.

I created a user and database and added the user to the database in cpanel.

I am now trying to connect to this database from another server, but it says

Step 2) Connect to the database

Attempting to attach to database

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the 'includes/config.php' file.

The values are set correctely. How do I fix this?

I am guessing that mysql defualty responds to the 3306 port correct? I added that port to apf inbound ports both TCP and UDP but it doesnt' do anything. How do I fix this?

 

 

 

 

Top