Welcome Guest, Not a member yet? Register   Sign In
Connection to MS SQL
#1

[eluser]ericsodt[/eluser]
I am trying to use CI to connect to my MS SQL DB through XAMP on a Windows development env. I am able to connect via 3rd party IDE's to view the data, so I know my credentials are correct.

The following is my config file:
Code:
$db['default']['hostname'] = 'myDB';
$db['default']['username'] = 'goAdmin';
$db['default']['password'] = '123456';
$db['default']['database'] = 'myDBName';
$db['default']['dbdriver'] = 'mssql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;

Whenever I comment out my autoload functionality it works fine, however as soon as I uncomment it, I get a blank page.

Any idea's on how to settle this issue?




Theme © iAndrew 2016 - Forum software by © MyBB