This error you are getting is complaining about the settings in your connection file. Did you update the connection file on the live server? You should take a look at the connection file that you have on the live server and ensure that it is connecting to the db. So long as this file has the correct values and settings in it and the code for the recordsets is below the include for this file then you should not get this error.
<?php require_once('Connections/mds.php'); ?>