Welcome Guest, Not a member yet? Register   Sign In
Problem with double connection MS SQL !!!
#1

[eluser]Unknown[/eluser]
hi to all,
i've configured the primary database connection to mysql and it works correctly,

but when i try to connect to another db Microsoft sql server ...
in this way :
$DB_KIT = $this->load->database('kit_db',TRUE,FALSE);

where 'kit_db' is in dabase configuration file like this :

$db['kit_db']['hostname'] = "my server";
$db['kit_db']['username'] = "my user";
$db['kit_db']['password'] = "my password";
$db['kit_db']['database'] = "my databse";
$db['kit_db']['dbdriver'] = "mssql";
$db['kit_db']['dbprefix'] = "";
$db['kit_db']['pconnect'] = TRUE;
$db['kit_db']['db_debug'] = TRUE;
$db['kit_db']['cache_on'] = FALSE;
$db['kit_db']['cachedir'] = "";
$db['kit_db']['char_set'] = "utf8";
$db['kit_db']['dbcollat'] = "utf8_general_ci";

i can't connect , and i see just a white page without any error

someone can help me ? thanks

sorry for my english , i'm italian :-)




Theme © iAndrew 2016 - Forum software by © MyBB