Example #2 mysql_connect() example using hostname:port syntax .... My situation: "I could connect to MySQL from the PHP via Apache and MySQL via the ...
php.net