Jump to content

[Solved] Can't Connect To Mysql


deidyomega

Recommended Posts

xeround is a MySQL web host, which works great.

 

But when I try to call xeround from inside of my heliohost account, it doesn't work.

 

I wrote a small script to test if xeround is up or not, and posted it on one of my servers, and heliohost servers.

 

The code always reports good for my server, and always fails for yours.

 

Could anyone give me a helping hand?

 

(Hiliohost)

http://expressivecomputing.com/testing/index.php

 

 

(private server)

http://expressivecomputing.homelinux.org:8080/sql/index.php

 

 

The script, in case anyone cares:

 

<?php
$con = @mysql_connect("instance25706.db.xeround.com:16855","username","password");
if (!$con)
 {
 echo '<font color="red">Xeround Not Working</font><br /><br />';
 }
else
 {
   echo '<font color="green">Xeround Working</font><br /><br />';
 }

$con = @mysql_connect("expressivecomputing.homelinux.org","username","password");
if (!$con)
 {
 echo '<font color="red">Expressive Computing Internal Not Working</font><br /><br />';
 }
else
 {
   echo '<font color="green">Expressive Computing Internal Working</font><br /><br />';
 }

$con = @mysql_connect("direct.expressivecomputing.com","username","password"); // I use cloudflare, so don't mind the subdomain weirdness
if (!$con)
 {
 echo '<font color="red">Hilio Not Working</font><br /><br />';
 }
else
 {
   echo '<font color="green">Hilio Working</font><br /><br />';
 }

?>

Link to comment
Share on other sites

Ok, that's fine for hiliohost, but that doens't actually help when trying to connect to a REMOTE MySQL.

 

If you went to the 2 comparative sites I listed, Hiliohost loads on both of them, xeround doesn't load. Its the one I need for this to matter.

 

instance25706.db.xeround.com:16855 is not a local connection

 

 

$con = @mysql_connect("instance25706.db.xeround.com:16855","username","password");if (!$con){ echo '<font color="red">Xeround Not Working</font><br /><br />'; }

 

--------------------------------------------- NEW THREAD -----------------------------------------------

 

I talked it cl58 and iceit on the IRC channel, we determined the problem must be a port issue.

 

cl58 is looking into unblocking the port (or maybe just writing an exception for xeround).

 

As for the solution, there really is none, other than waiting to see if they unblock it.

 

EDIT:

 

It works now.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...