External Access to MySQL

Status
Not open for further replies.

deadimp

New Member
Messages
249
Reaction score
0
Points
0
I've searched and found other posts on this, but none of them give me the same, definite answer.

How do we access our MySQL database externally [such as on a test server]? Namely, what is the host?
Are we even able to?

I'm asking because I usually manage my databases with a MySQL GUI, SQLyog, on my computer because I've accustomed myself to it, and it's simple for me to use.
 
Last edited:

devin

New Member
Messages
18
Reaction score
0
Points
0
If you don't set it in cpanel, it'll reject all your connections.
But in cpanel 11 its easy to set up external mysql connections

"go to remote mysql in cpanel which is in the database section
then you add hosts.
If your test server is at 255.255.255.255
you'll put 255.255.255.255 as the host that is allowed to access

and usually to connect to the server it'll
assume your sub domain is at x10hosting

then it'll be username.x10hosting.com
then you database name ie:user_db
user: user_username
pass: pass

normally that would work.
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
Closing this since it seems to be answered.

-Corey
 

deadimp

New Member
Messages
249
Reaction score
0
Points
0
I've just tried to access my MySQL account from my computer, and it still returns the same error...
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
I need to add your IP address to the firewall for you to be able to access SQL from outside the server. If you PM it to me I can do that.
 

Corey

I Break Things
Staff member
Messages
34,553
Reaction score
204
Points
63
Added to the firewall. Please reopen if further assistance is needed.
 
Status
Not open for further replies.
Top