Welcome Guest, Not a member yet? Register   Sign In
database config file
#4

[eluser]cinewbie81[/eluser]
[quote author="sergitin" date="1192477719"]hi
I think first you most do
Code:
$db['default']['database'] = "mysql";
and then, to change the value of
$db['default']['database'] to your database

or

you can have two DATABASE CONNECTIVITY SETTINGS in database.php
the first is with
Code:
$active_group = "default";
and the other with
Code:
$active_group = "other";
and when you create the database, then you change the $active_group
at the other definition of connectivity[/quote]

hi, thx, but how do u change the value $db['default']['database'] to my database from a function??


Messages In This Thread
database config file - by El Forum - 10-15-2007, 06:37 AM
database config file - by El Forum - 10-15-2007, 08:48 AM
database config file - by El Forum - 10-15-2007, 09:35 AM
database config file - by El Forum - 10-15-2007, 06:38 PM
database config file - by El Forum - 10-17-2007, 08:07 PM
database config file - by El Forum - 10-17-2007, 08:32 PM
database config file - by El Forum - 10-17-2007, 09:48 PM
database config file - by El Forum - 10-19-2007, 05:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB