no, i meant that the server name you have to provide in mysql_connect may not be "localhost". in your develpoment environment you may connect with:
mysql_connect( 'localhost', 'myname', 'mypwd' );
but your hosting-provider may have the databases hosted elsewhere, maybe on another port too (my own provider does that e.g.) so you would have to connect by
mysql_connect( 'databases.yourprovider.com:6001', 'myname', 'mypwd' );