Problem Connecting to IBM DB - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Problem Connecting to IBM DB (/showthread.php?tid=67758) |
Problem Connecting to IBM DB - nhakkari - 04-05-2017 I can not connect to a db2 ibm here my configuration: $db['default'] = array( 'dsn' => ''; 'hostname' => "DRIVER={IBM i Access ODBC Driver};SYSTEM=192.......;DBQ=;DFTPKGLIB=;LANGUAGEID=ENU;QRYSTGLMT=-1;", 'username' => 'user', 'password' => 'pass', 'database' => 'base', 'dbdriver' => 'odbc', 'dbprefix' => '', 'pconnect' => TRUE, 'db_debug' => (ENVIRONMENT !== 'production'), 'cache_on' => FALSE, 'cachedir' => '', 'char_set' => 'utf8', 'dbcollat' => 'utf8_general_ci', 'swap_pre' => '', 'encrypt' => FALSE, 'compress' => FALSE, 'stricton' => FALSE, 'failover' => array(), 'save_queries' => TRUE ); Need your helps Thank's RE: Problem Connecting to IBM DB - php_rocs - 04-07-2017 @nhakkari I will first ask the obvious question...Is your PHP configured with the PDO/ODBC drivers? RE: Problem Connecting to IBM DB - nhakkari - 04-07-2017 With odbc |