I think you need to make sure these are correct:
Code:
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
$config['MasterServer']['username'] = 'database';
$config['MasterServer']['password'] = 'pass';
I doubt that 'database' and 'pass' are correct (unless you changed them to avoid posting them here). If you don't know what they should be you need to ask your host.