Welcome Guest, Not a member yet? Register   Sign In
Unable to connect to your database server using the provided settings.
#1

[eluser]RRosset[/eluser]
As you can read in the title, i'm getting this error:

An Error Was Encountered

Unable to connect to your database server using the provided settings.


My database.php

Code:
$active_group = "default";

$db['default']['hostname'] = "IP_ADDRESS";
$db['default']['username'] = "USERNAME";
$db['default']['password'] = "PASSWORD";
$db['default']['database'] = "DATABASE";
$db['default']['dbdriver'] = "mysql";
$db['default']['dbprefix'] = "";
$db['default']['active_r'] = TRUE;
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE; // SET TO TRUE
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";

I've got another site in the exact same server. So, i have site 1 with error, let's call it A, and site 2 without errors, let's call it B.

I set in site A the code i paste before, and i get an error, i paste the code from site B and i get an error.

Now... in site B, the original code is working, but as soon as i use the code of site A, dang! same error!

I'm totally lost on this. I searched google, CI forums and nothing... tried some solutions setting new OLD_PASSWORD but nothing (i get an error from this).

MySQL Server version: 4.1.22

Hope you can help me guys!

Bob


Messages In This Thread
Unable to connect to your database server using the provided settings. - by El Forum - 11-06-2007, 04:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB