Skip to navigation
How to access a MSSQL SERVER 2012 with XAMPP Mac on CodeIgniter
07.12.13
download the latest version at this moment its XAMPP for OS X 1.8.3-2 in CodeIgniter you can add additional db with: $db['sl']['hostname'] = '192.168.1.10:1433'; $db['sl']['username'] = 'FOO'; $db['sl']['password'] = 'PASSWORD'; $db['sl']['database'] = 'BARBAR'; $db['sl']['dbdriver'] = 'mssql'; $db['sl']['dbprefix'] = ''; $db['sl']['pconnect'] = TRUE; $db['sl']['db_debug'] = TRUE; $db['sl']['cache_on'] = FALSE; $db['sl']['cachedir'] = ''; $db['sl']['char_set'] = 'utf8'; $db['sl']['dbcollat'] = 'utf8_general_ci'; $db['sl']['swap_pre'] = ''; $db['sl']['autoinit'] = TRUE; $db['sl']['stricton'] = FALSE; in xampp you need to adjust the TDS version in /Applicaitons/XAMPP/xamppfiles/etc/freetds.conf in this case change from from 4 to 8 tds version = 8
http://www.apachefriends.org/f/viewtopic.php?t=10612
Reply
Anonymous
Information Epoch 1751718981
Use lower case and keep it short.
Home
Notebook
Contact us