Welcome Guest, Not a member yet? Register   Sign In
How to connect database using one not in localhost
#7

[eluser]Miftah Zein[/eluser]
[quote author="Atharva" date="1294327469"]So when you are getting this error? On your localhost or on your development server?[/quote]

I'm very sorry, recently i set back it to localhost on 192.168.0.112

For file that got wrong is like this

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

$db['server']['hostname'] = "localhost";
$db['server']['username'] = "grpuc621_dbroot";
$db['server']['password'] = "[email protected]";
$db['server']['database'] = "grpuc621_landscape";

$db['local']['hostname'] = "192.168.0.120";
$db['local']['username'] = "root";
$db['local']['password'] = "";
$db['local']['database'] = "landscape";

$db["$active_group"]['dbdriver'] = "mysql";
$db["$active_group"]['dbprefix'] = "";
$db["$active_group"]['pconnect'] = TRUE;
$db["$active_group"]['db_debug'] = TRUE;
$db["$active_group"]['cache_on'] = FALSE;
$db["$active_group"]['cachedir'] = "";
$db["$active_group"]['char_set'] = "utf8";
$db["$active_group"]['dbcollat'] = "utf8_general_ci";


Messages In This Thread
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:32 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:35 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:45 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 02:57 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:21 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:24 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:27 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:29 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:31 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:40 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 03:57 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 04:08 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 04:47 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 04:50 AM
How to connect database using one not in localhost - by El Forum - 01-06-2011, 07:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB