# Does anybody use www.freesql.org?

**URL:** <https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196>\
**Category:** Uncategorized\
**Created:** [August 23, 2003, 9:09pm UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196 "2003-08-23T21:09:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scootman](https://avatars.discourse-cdn.com/v4/letter/s/ea666f/32.png) [@Scootman](https://forum.kirupa.com/u/Scootman)\
**Post date:** [August 23, 2003, 9:09pm UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196/1 "2003-08-23T21:09:02Z")

</div>

i signed up with [freesql.org](http://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

```php

 mysql_connect($server, $username, $password) or die("Server is down right now.");

```

and $server = “[freesql.org](http://freesql.org)”;

ive tried [www.freesql.org](http://www.freesql.org), [mysql.freesql.org](http://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…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 23, 2003, 10:01pm UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196/2 "2003-08-23T22:01:36Z")

</div>

use only this code

```php
mysql_connect("freesql.org", $username, $password); 

```

and tell me what kind of error does it throw…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 23, 2003, 10:19pm UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196/3 "2003-08-23T22:19:44Z")

</div>

ok the errors it gives are

Warning: Can’t connect to MySQL server on ‘[freesql.org](http://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](http://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)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 23, 2003, 10:24pm UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196/4 "2003-08-23T22:24:22Z")

</div>

hm… contact the people at [freemysql.org](http://freemysql.org) and see what they say 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 23, 2003, 10:36pm UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196/5 "2003-08-23T22:36:45Z")

</div>

k ill try that thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 28, 2003, 2:09am UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196/6 "2003-08-28T02:09:56Z")

</div>

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](http://www.freesql.org)** with **[www.freesql.org:3306](http://www.freesql.org:3306)**. I think that’s the port number, I used it before…didn’t like it much though :-\

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 28, 2003, 4:32am UTC](https://forum.kirupa.com/t/does-anybody-use-www-freesql-org/29196/7 "2003-08-28T04:32:49Z")

</div>

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
