I'm trying to retrieve data from a remote mysql database to use in a php page, but I can't connect to it. $conn = mysql_connect ("remoteserverip", db_username, db_password) or die ('could not connect. ' . mysql_error()); mysql_select_db (db_name, $conn); I'm using the Plesk control panel. I do ssh into the server to create mysqldumps, but I haven't connected in this way before.