Welcome Guest, Not a member yet? Register   Sign In
database problem?
#3

[eluser]Bigil Michael[/eluser]
now i have created 2 databases like this

Code:
$active_group = "test1";
$active_record = TRUE;

$db['test1']['hostname'] = "localhost";
$db['test1']['username'] = "root";
$db['test1']['password'] = "";
$db['test1']['database'] = "city1";
$db['test1']['dbdriver'] = "mysql";
$db['test1']['dbprefix'] = "";
$db['test1']['pconnect'] = TRUE;
$db['test1']['db_debug'] = TRUE;
$db['test1']['cache_on'] = FALSE;
$db['test1']['cachedir'] = "";
$db['test1']['char_set'] = "utf8";
$db['test1']['dbcollat'] = "utf8_general_ci";


$active_group = "test2";
$active_record = TRUE;

$db['test2']['hostname'] = "localhost";
$db['test2']['username'] = "root";
$db['test2']['password'] = "";
$db['test2']['database'] = "city2";
$db['test2']['dbdriver'] = "mysql";
$db['test2']['dbprefix'] = "";
$db['test2']['pconnect'] = TRUE;
$db['test2']['db_debug'] = TRUE;
$db['test2']['cache_on'] = FALSE;
$db['test2']['cachedir'] = "";
$db['test2']['char_set'] = "utf8";
$db['test2']['dbcollat'] = "utf8_general_ci";

some tables are in the db city1
remaining in city2

but when i execute my project it shows some tables are missing.

can anyone help me???


Messages In This Thread
database problem? - by El Forum - 01-27-2012, 12:41 AM
database problem? - by El Forum - 01-27-2012, 02:53 AM
database problem? - by El Forum - 01-27-2012, 03:43 AM
database problem? - by El Forum - 01-27-2012, 06:39 AM
database problem? - by El Forum - 01-27-2012, 10:31 PM
database problem? - by El Forum - 01-28-2012, 01:35 AM
database problem? - by El Forum - 01-29-2012, 10:41 PM
database problem? - by El Forum - 01-29-2012, 11:56 PM
database problem? - by El Forum - 01-30-2012, 01:53 AM
database problem? - by El Forum - 01-30-2012, 02:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB