MySQL Workbench and Remote MySQL Environment

jamesterror

Member
Feb 28, 2013
22
0
1
cPanel Access Level
Root Administrator
Hi,

I know MySQL Workbench isn't supported by cPanel, however we have a remote SQL server environment from main Web/Email servers and we are unable to connect to the MySQL with Workbench - We were curious whether anybody had succeeded with this.

When we connect to a domain, with the cPanel username and password we get the error "Host ****** is not allowed to connect to this MySQL server" - I then had a browse and of course, added the Wildcard under Remote Hosts on cPanel, tried again. Still no luck.

We then tried connecting directly to the remote MySQL server, this did not work either - Error 10060.

We are running CSF Firewall on all servers, but the relevant ports are open to enable SQL connectivity.

Any suggestions/ideas would be greatly appreciated.

Thanks,
James
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Have you tried adding the specific IP address you are connecting from to the "Remote Database Access Hosts" section in cPanel? Also, try adding the IP to the allow list in your firewall to see if that helps.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Have you tried disabling CSF completely and then attempting to access MySQL remotely to see if that makes a difference? Also, try adding the allowed IP address via:

"WHM Home » SQL Services » Additional MySQL Access Hosts"

Thank you.
 

ThinIce

Well-Known Member
Apr 27, 2006
352
9
168
Disillusioned in England
cPanel Access Level
Root Administrator
Just a thought - it doesn't really match up with the error being shown but what happens if you try connecting with a mysql user you've created under the cPanel account in question, rather than with the main account username and password?