1
mycucu
change db password
  • 2004/6/28 5:57

  • mycucu

  • Just popping in

  • Posts: 2

  • Since: 2004/6/28


I have installed, upgrade and run XOOPS successfully on localhost until I decide to upgrade my db management skill. MySQL was then run as root with no password and now i have installed the password and as a result I cannot accessed the webpage. Try to edit mainfile.php but no success. Need help from the expert, instead of reinstalling xoops.

2
Mithrandir
Re: change db password

did you download the mainfile.php from your website, changed the password and reuploaded?

That should be the way to do it. Could you elaborate on "no success"?

3
mycucu
Re: change db password
  • 2004/6/28 12:49

  • mycucu

  • Just popping in

  • Posts: 2

  • Since: 2004/6/28


I don't understand what do you mean by download. The file is in my local machine and I just access the backend and open it using php editor, but I noticed this file is read only file. I wonder if I have to change the status to read and write as well in order to be able to insert the new password into the mainfile.php. My XOOPS installation is on XP.
The error is: Error [Xoops]: Unable to connect to database in file c:\program files\apache group\apache\htdocs\mysite\class\database\databasefactory.php line 34
Problem solved after describing the problem to you: the write permission problem!
BTW Thank you.

4
kahumbu
Re: change db password
  • 2004/6/28 14:34

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


If you just changed the root password for MySQL in your local setup, you might need to 'FLUSH PRIVILEGES' for it to take effect.

If you have phpMyAdmin installed, you can just click on the link given in the index page. Or you can use the MySQL command line.

Login

Who's Online

434 user(s) are online (370 user(s) are browsing Support Forums)


Members: 0


Guests: 434


more...

Donat-O-Meter

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

Latest GitHub Commits