Hi, I don’t know this is the problem with my webhost or the Modx. It has been the second time I found I can’t login to the manager, it gives me "Failed to create the database connection! Please run the MODx install utility", needless to say I can’t see my site too.
It first happened about 10 days ago, everything went back to normal after 10 minutes or so, first I thought it must be that I mis-clicked something in the system configuration as I was there checking something. It gave me a 500 Internal Server Error error, because I just turned on the friendly URLs, and although it was working, I thought maybe it wasn’t working properly so I removed the ’.htaccess’ files from the server, I wasn’t immediately check the page after the files removed, but I think I did check it few minutes later and I was certain it didn’t work, however few minutes later everything went back to normal.
This time, it has been over an hour. I wasn’t working on my site yesterday and can’t remember if I ever check my website since Sunday night. My web host is Dreamhost, but there is no report of problem at dreamhost status.
Anybody ever experience such thing? I never have similar problem with Etomite and TextPattern and is a bit panic now.
thanks!
tgp
The "Failed to create the database connection" error points to an error with the database server itself. Probably over shared server and it can’t handle all connections.
EDIT: DreamHost is famous of having power outages and it could be that..
check this
EDIT2: And
this.. not looking very promising after a quick googling.. I guess you are already familiar with
this site?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
-
MODX Staff
- 12,272 Posts
Dreamhost does from time to time have issues. As far as cheap hosting goes though, it’s pretty good, but as with most cheap hosting, you usually get what you pay for. There will be outages and inexplicable performance hiccoughs, it’s just a matter of when and for how long.
(Full disclosure: I’m a former customer of Valueweb, Dreamhost and Serverbeach, in that order ... at the Planet for two+ years... Dedicated servers since Serverbeach...)
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
MODX Staff
- 12,272 Posts
Lots of things can cause database corruption when servers are starved for resources. It’s the gamble you take when sharing a server with other unknown users.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Are the two sites using the exactly same database server? Of course static html will work, but if modx cannot connect to the database server, it won’t work
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
I don’t think anyone here would be angry at you for asking if it’s possible that MODx has something to do with you losing the database connection. People here are pretty open and friendly, and they have the confidence of knowing they’re working on a great project. So they’ll tell you that MODx most likely isn’t to blame, but they won’t flame you for asking or anything like that.
yes, i’m not angry or anything like that. English is not my mothertongue and sometimes i might sound harsh even if i’m not trying to. usually i havent got enough time/energy to try to write pretty

anyways.. If the two sites are on a different dbserver you cannot compare them. The problem simply is that the host dbserver that modx is set to use is unreachable.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."