I made a db on db4free.net, and I want to connect to it with php:
$username = myusername; $password = mypw; $host = \"db4free.net:3306\"; $dbname = mydbna
Don't set the port at the end of the hostname. 3306 is indeed the default port for mysql connection anyway.