remote conection with mysql_connect(

admin

Administrator
Staff member
Hello. I have a remote mysql database named datos hosting in <!-- m --><a class="postlink" href="http://apolosoft.beunleashed.com/datos/">http://apolosoft.beunleashed.com/datos/</a><!-- m -->
and I have a scripts like this to try to connect:
// create connection
$connection = mysql_connect("http://apolosoft.beunleashed.com","apoloso1","idjr95");
// test connection
if (!$connection) {
echo "Couldn't make a connection!";
exit;
}
// select database
$db = mysql_select_db("datos", $connection);
// test selection
if (!$db) {
echo "Couldn't select database!";
exit;
}
But not work. What hostname must I use?
I've also try "ftp.beunleashed.com" but not work. Any help? Thanks.
 
Back
Top