db is up but cant connect to it ?

wxdqz

New Member
i just created a new db at <!-- w --><a class="postlink" href="http://www.freesql.org">www.freesql.org</a><!-- w --> but i am unable to connect to it.

i use:
$db = mysql_connect("www.freesql.org", "liveaday", "$pass");

and i get:
Warning: Supplied argument is not a valid MySQL result resource in c:\foxserv\www\travel\flights\alphabetical.php on line 31


when i try to use port:
$db = mysql_connect("www.freesql.org:3766", "liveaday", "$pass");

i get:
Warning: Can't connect to MySQL server on 'www.freesql.org' (10061) in c:\foxserv\www\travel\flights\alphabetical.php on line 27

Warning: MySQL Connection Failed: Can't connect to MySQL server on 'www.freesql.org' (10061) in c:\foxserv\www\travel\flights\alphabetical.php on line 27

Warning: Supplied argument is not a valid MySQL-Link resource in c:\foxserv\www\travel\flights\alphabetical.php on line 29

Warning: Supplied argument is not a valid MySQL-Link resource in c:\foxserv\www\travel\flights\alphabetical.php on line 30

Warning: Supplied argument is not a valid MySQL result resource in c:\foxserv\www\travel\flights\alphabetical.php on line 31


can anybody help me?

PS: when i use freesql's phpMyAdmin and everything is just fine so the db is up and running.
 
Back
Top