If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / changed mysql password and lost my whole site!

changed mysql password and lost my whole site!

Locked

Started by scottgallagher on 1 Sep 2009, 12:58 AM · Views: 2,825

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Sep 2009, 12:58 AM
#1
scottgallagher avatar

scottgallagher

New Zenner

Join Date:
Apr 2009
Posts:
16
Plugin Contributions:
0

changed mysql password and lost my whole site!

Hello I'm in a bit of a mess, I changed my mysql password since i missplaced my old one and lost my whole site. i found the password in the configure.php but phpMyadmin would not let me change my password to anything starting with a number which apparently was in the old password. so since i coundnt change my old password back through the phpmyadmin control panel i tried to change the text in configure.php to the new password but still to dice. somebody please help!

1 Sep 2009, 3:17 AM
#2
scottgallagher avatar

scottgallagher

New Zenner

Join Date:
Apr 2009
Posts:
16
Plugin Contributions:
0

Re: changed mysql password and lost my whole site!

in short, i just need to know what .php files to change my password in.
thanks

1 Sep 2009, 3:57 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: changed mysql password and lost my whole site!

Zen Cart uses the DB_XXXXXX settings in your 2 configure.php files to access the database.
You need to update those settings in those files.
Remember that the 2 configure.php files on your server are likely read-only for security reasons, so you'll need to change their permissions to make them writable before uploading your changes to them, and then put them back to whatever read-only state they were in prior to your changes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Sep 2009, 9:41 PM
#4
debiwebi avatar

debiwebi

New Zenner

Join Date:
Aug 2009
Location:
Highlands Ranch, Colorado
Posts:
84
Plugin Contributions:
0

Re: changed mysql password and lost my whole site!

I did the same thing. Where are the configure.php files? I can only find configuration.php files.


Never mind, I found them in admin/includes and includes. Thanks anyway.