Can't Connect to MySQL Server :(

Status
Not open for further replies.

adzen

New Member
Messages
8
Reaction score
0
Points
0
Here is my code:
$DBConnect = @mysqli_connect("vinciara.x10hosting.com", "login", "pass");

Am I supposed to be using one of the account/pass's I created in the CPanel MySQL database wizard thing? Or my account login for the whole entire site? Is my code right?

Heres the error that I get:
Error code 2003: Can't connect to MySQL server on 'vinciara.x10hosting.com' (111)

I saw a post that Corey replied to and said that he has to unblock my IP, so I can access it or something. I have a page on a web server that calls to my x10hosting database, so does he need that site IP? Or my IP?

Help please :D
This is a project for school, it's due the 21st.
 

Brandon

Former Senior Account Rep
Community Support
Messages
19,181
Reaction score
28
Points
48
The IP for the server you are trying to connect from is needed.
 

adzen

New Member
Messages
8
Reaction score
0
Points
0
65.39.211.127

Thanks alot.
Edit:
Hi Brandon. Are you the one that adds that IP? If so, can you please let me know once you have done it? Or can you tell me who I need to ask.

Thanks
Edit:
Someone please unblock that IP! :D
Edit:
Someone please unblock this IP! I need to finish this thing for school :(

If you can help it would be greatly appreciated! :D

If someone does unblock it, can you let me know? So I can try it.


Thanks!!!!!
 
Last edited:
Status
Not open for further replies.
Top