this suggests that the site settings for the testing server are not correct.
where you are trying to connect to the remote mySQL database, set up the testing server settings in the site definition to connect to the remote FTP server.
also make sure the web URL is set correctly.