Welcome Guest, Not a member yet? Register   Sign In
Could not connect to MSSQL database
#1

[eluser]christatedavies[/eluser]
I get the attached error message randomly throughout the day, there is no real reason for it as far as I can tell. And there is no trigger for it happening. When I do get it, a refresh of the page will usually solve it.

My problem is that this is a development project, and I don't want these issues to happen for the user once the project goes into production mode. It won't look good.

Is there anyway I can drill down to find out what is causing the errors?

-- Little background info --
The MSSQL database (Microsoft SQL Server Express 2012) is running on a VirtualBox VM running Windows Server 2012, and the PHP code is running on another VM running CentOS Server 6.4 running on PHP 5.4.15.

I am using Chrome/Firefox on MacOS to browse the site.
#2

[eluser]jairoh_[/eluser]
check your database.php if you have set the right values in connecting your db like the database name, username, password
#3

[eluser]christatedavies[/eluser]
[quote author="jairoh_" date="1373581800"]check your database.php if you have set the right values in connecting your db like the database name, username, password [/quote]

If those details were incorrect then it would never connect. This error only appears now and again.




Theme © iAndrew 2016 - Forum software by © MyBB