Welcome Guest, Not a member yet? Register   Sign In
Problem Connecting to IBM DB
#1

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 Angel Angel
Reply
#2

@nhakkari

I will first ask the obvious question...Is your PHP configured with the PDO/ODBC drivers?
Reply
#3

With odbc
Reply




Theme © iAndrew 2016 - Forum software by © MyBB