Wie verbinde ich Codeigniter mit MSSQL (SQL Server)?
Mein Server verwendet Windows Server mit MSSQL 2012. Während ich OS X (El Capitan) mit XAMPP (Apache) für Mac verwende und eine Website mit Codeigniter 2.2.0 entwickle.
Hier ist meine Konfiguration:
$active_group = 'my_mssql';
$active_record = TRUE;
$db['my_mssql']['hostname'] = 'xx.xx.xx.x';
$db['my_mssql']['username'] = 'wow_queue';
$db['my_mssql']['password'] = 'wow12345';
$db['my_mssql']['database'] = 'queue_sys';
$db['my_mssql']['dbdriver'] = 'mssql';
$db['my_mssql']['dbprefix'] = '';
$db['my_mssql']['pconnect'] = TRUE;
$db['my_mssql']['db_debug'] = TRUE;
$db['my_mssql']['cache_on'] = FALSE;
$db['my_mssql']['cachedir'] = '';
$db['my_mssql']['char_set'] = 'utf8';
$db['my_mssql']['dbcollat'] = 'utf8_general_ci';
$db['my_mssql']['swap_pre'] = '';
$db['my_mssql']['autoinit'] = TRUE;
$db['my_mssql']['stricton'] = FALSE;
, aber das Ergebnis ist:
Sind meine Einstellungen falsch?
Ich möchte nur in der Lage sein, eine Verbindung zu diesem Server herzustellen. Hat jemand einen Rat zur Lösung dieses Problems?