1
bikedup
Unable to connect to database error. Please help!!! See post.
  • 2004/11/3 19:34

  • bikedup

  • Just popping in

  • Posts: 2

  • Since: 2004/11/3


Error [Xoops]: Unable to connect to database in file class/database/databasefactory.php line 34

I get the above error when trying to view my site.

Can someone please help?

Thanks!!!

bikedup.com

2
brash
Re:Unable to connect to database error. Please help!!! See post.
  • 2004/11/3 21:29

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Can you give us a bit of background to this? Was this a working site, or is it a fresh install? Have any changes been made to the server our your DNS recently?

3
tedsmith
Re:Unable to connect to database error. Please help!!! See post.
  • 2004/11/3 22:37

  • tedsmith

  • Home away from home

  • Posts: 1151

  • Since: 2004/6/2 1


Check your password that is stored in mainfile.php. It sounds as though XOOPS is detecting your database but can't access it due to either a permission or password problem. Check for anything else in their that looks out of the ordinary. If all seems to be OK contact your web host - they may have moved it or done some maintenance without telling you.

I had this same problem once, and it was because the password on my database was different to what I had put in mainfile.php (which it got during the setup phase).

4
brash
Re:Unable to connect to database error. Please help!!! See post.
  • 2004/11/3 22:49

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Ted is right here, if any of you database connection details (username, password, database name, etc) in mainfile.php are incorrect then XOOPS won't work.

Login

Who's Online

378 user(s) are online (72 user(s) are browsing Support Forums)


Members: 0


Guests: 378


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits