Welcome Guest, Not a member yet? Register   Sign In
weird connection problem to mssql with odbc
#1

[eluser]Marc Arbour[/eluser]
Hi.

I have a working connection to mssql via odbc in CodeIgniter 2.1.4.

It stops working when I change the password from "passwordclient" to "Data;8ase;Access"

Here is my configuration:
Code:
$db['default']['hostname'] = 'Driver={SQL Server Native Client 10.0};Server=127.0.0.1;Database=database_name';
$db['default']['username'] = 'client';
$db['default']['password'] = "see_above";
$db['default']['database'] = 'database_name';
$db['default']['dbdriver'] = 'odbc';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = '';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;

Can anyone tell me why I can't use semicolon in my passwords? Is there a way around this?

Best regards

Marc




Theme © iAndrew 2016 - Forum software by © MyBB