1
gajedi
Database error
  • 2004/10/24 16:58

  • gajedi

  • Just popping in

  • Posts: 5

  • Since: 2004/10/19


Does anyone have any idea - what this error message means?

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

I was restoring a backup copy of MySQL database and my home directory. Now I am getting this error message? Does anyone have any ideas?

David

2
Herko
Re:Database error
  • 2004/10/24 18:27

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Well, the error does say 'can't connect to database', so make sure that the restored mainfile.php has all the correct settings for your database.

Herko

3
gajedi
Re:Database error
  • 2004/10/25 1:14

  • gajedi

  • Just popping in

  • Posts: 5

  • Since: 2004/10/19


in the phpmain file - is the section called.

//database password -

"is that the actual password in plain text or is it encrypted in some manner."

David

4
Dave_L
Re:Database error
  • 2004/10/25 1:34

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


It's the actual password in plain text.

5
Bassman
Re:Database error
  • 2004/10/25 1:45

  • Bassman

  • Friend of XOOPS

  • Posts: 1272

  • Since: 2003/5/23


That message will also appear if your host is having problems with MySQL

6
Jackwan
Re: Database error
  • 2004/10/25 1:48

  • Jackwan

  • Not too shy to talk

  • Posts: 129

  • Since: 2004/9/8 2


I have been getting this error many times in the past few days. In addition to all the above senior leader's answers, one of the thing I was facing is the Server side database overload. You have no control over that, you just have to wait it out.

7
Mithrandir
Re:Database error

If you have an administration interface to your site (Cpanel, Hsphere etc.) you can try to connect to the database that way and see if it is actually connectable - then double-check the information in the database.

If the database user and/or password is wrong, you usually get a different error message, so the host and database name is the first priority to check.

Login

Who's Online

214 user(s) are online (153 user(s) are browsing Support Forums)


Members: 0


Guests: 214


more...

Donat-O-Meter

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

Latest GitHub Commits