• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.