Welcome Guest, Not a member yet? Register   Sign In
Random database error
#1

[eluser]Juicie[/eluser]
I'm developing a new site for the company i'm working for. Everything is nearly finished but i'm getting a random database error. 9 out of 10 times everything works great but then I get an error.

Quote:A Database Error Occurred

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

I'm using MSSQL 2005 with the following CI settings:

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

$db['default']['hostname'] = "---\---";
$db['default']['username'] = "---";
$db['default']['password'] = "---";
$db['default']['database'] = "catalogus";
$db['default']['dbdriver'] = "mssql";
$db['default']['dbprefix'] = "";
$db['default']['pconnect'] = FALSE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = "";
$db['default']['char_set'] = "utf8";
$db['default']['dbcollat'] = "utf8_general_ci";

Could it be a solution to use the ADODB library. Thnx.
#2

[eluser]Thorpe Obazee[/eluser]
have you tested it on your localhost or somewhere else? if yes, does it occur there too?
#3

[eluser]Juicie[/eluser]
[quote author="bargainph" date="1241613806"]have you tested it on your localhost or somewhere else? if yes, does it occur there too?[/quote]

I've tried it at localhost, from same network and from a remote computer. Getting the error everywhere.
#4

[eluser]Juicie[/eluser]
Problem solved thnx to this topic: http://ellislab.com/forums/viewthread/86023/P0/




Theme © iAndrew 2016 - Forum software by © MyBB