If I am right in saying MSSQL stands for Microsoft SQL or something like that??
wouldnt it be easier to use the MySQL in cPanel, then perform the connection using this:
PHP Code:
// Enter the username here. Can be the main admin username or an account you assigned to it earlier.
$sql[username] = "username here";
// Enter your password here. Again can be done using admin password or the account you assigned to the db in the mysql manager in cPanel.
$sql[password] = "password here";
// Should be left at localhost. This should work.
$sql[hostname] = "localhost";
// Normally begins with your username. Example: zenax_website
$sql[db_name] = "name of db here"
// Performs a connection to the SQL host, and if there is an error should display the error message
$connection = mysql_connect($sql[hostname], $sql[username], $sql[password]
or die ("Sorry cannot connect to the SQL server");
// Selects the database specified above. Uses the connection created earlier, if not shows error message
$db_select = mysql_select_db($sql[db_name], $connection)
or die ("Sorry cannot connect to the DB on the SQL server. Please check your configuration settings");