• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anyone here use CI with an Informix DB

#1
[eluser]Unknown[/eluser]
just a quick question, has anyone here used CI with an informix DB backend? If so, how did you get it setup?

Thanks!

#2
[eluser]pistolPete[/eluser]
I do not use Informix, but I think I can give you some pointers:
I assume you have installed the Informix extension.

In order to use CI's database abstraction, you have to write an Informix driver for CI.
Have a look at ./system/database/drivers/:
You have to create at least these two files:

informix_driver.php:
Code:
class CI_DB_informix_driver extends CI_DB {

    var $dbdriver = 'informix';
(...)
}

informix_result.php:
Code:
class CI_DB_informix_result extends CI_DB_result {
(...)
}

Now have a look at e.g. the files mysql_result.php and mysql_driver.php and adapt the contained MySQL functions for the corresponding Informix functions.

#3
[eluser]Unknown[/eluser]
Paul,

Did you get this working? If you did could you guide me into what needs to be done.

#4
[eluser]Miguel Quiroz[/eluser]
and fixed the problem, I need your help
Greetings

#5
[eluser]Unknown[/eluser]
hello, I want to know if anyone has implemented this solution and it worked.

If you have an example or some information I can tell here: [email protected]

Thanks in advance.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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