View Full Version : does anybody use www.freesql.org?
Scootman
August 23rd, 2003, 05:09 PM
i signed up with freesql.org but it seems i cant connect to their server... does anybody else get this problem? (if you use their services of course)
or perhaps my code is wrong
my code to connect is
mysql_connect($server, $username, $password) or die("Server is down right now.");
and $server = "freesql.org";
ive tried www.freesql.org, mysql.freesql.org, none seem to work
is my code wrong or is the server im connecting to wrong? and if i have the wrong server how do i find the correct one?
thanks to anyone who can help...
ahmed
August 23rd, 2003, 06:01 PM
use only this code
mysql_connect("freesql.org", $username, $password); and tell me what kind of error does it throw..
Scootman
August 23rd, 2003, 06:19 PM
ok the errors it gives are
Warning: Can't connect to MySQL server on 'freesql.org' (110) in /home/virtual/site17/fst/home/scootman/public_html/PHP/board.php on line 10
Warning: MySQL Connection Failed: Can't connect to MySQL server on 'freesql.org' (110) in /home/virtual/site17/fst/home/scootman/public_html/PHP/board.php on line 10
(line 10 is the line wtih the code to connect)
ahmed
August 23rd, 2003, 06:24 PM
hm.. contact the people at freemysql.org and see what they say :)
Scootman
August 23rd, 2003, 06:36 PM
k ill try that thanks
Wintermute
August 27th, 2003, 10:09 PM
This might seem late, but for anyone who has the same problem, you forgot to add the port number in. What you do is replace www.freesql.org with www.freesql.org:3306. I think that's the port number, I used it before...didn't like it much though :-\
Scootman
August 28th, 2003, 12:32 AM
well i emailed the guy who runs freesql and he said i had the right server...but he said my webhost probably doesnt suport outgoing mysql connections... ill try this port number thing though.... might as well... thanks for the info
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.