1
hyphenex
Can't get database working when moving site
  • 2005/11/19 5:04

  • hyphenex

  • Just popping in

  • Posts: 14

  • Since: 2005/11/4


I'm trying to make a copy of my web site on my home computer, so I can make any changes/hacks like updating XOOPS without the worry of wrecking anything, then just copy and paste everything back over.

Here's the problem (please note I'm new to all this in Unix as well)
1. I just enabled apahce & mySQL
2. I just enabled php in apache
3. Installed phpmyAdmin and copied the database over
4. Renamed the database to hyphenex_xoop1
5. Set the username to hyphenex_xoop1, and password to what it is in my mainfile.php file
6. Changed the root path and URL settings accordingly.

I still get the following error:
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.

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

Is there a way I can get any more information on how to resolve the prpoblem, like exactly what step it is that's wrong, if it's my username and password that's wrong or just connection problems...

Any advice on how to resolve this is also apreciated.. Thanks

2
hyphenex
Re: Cant get database working when moving site
  • 2005/11/19 5:06

  • hyphenex

  • Just popping in

  • Posts: 14

  • Since: 2005/11/4


I should also mention that I did not do a fresh install. I figure that if updates work on this mirror of my real site, then I can just change those few values back then copy and paste it back over to my real server

Login

Who's Online

100 user(s) are online (63 user(s) are browsing Support Forums)


Members: 0


Guests: 100


more...

Donat-O-Meter

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

Latest GitHub Commits