Updated database connection logic

Updated common.php database connection logic to include port number.