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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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