You are not enjoying the benefits offered by registering. To register click here...
  
Forums | Prefs | Your Messages | Members | Recent | Search
Quick Search


Advanced Search
| Calendar | Doc | Dev' Blog! |
Chat (Alpha Version)

Guest, do not forget to login ( Register )
 Top > Forums > This Software > Support, FAQ, How-to's
 How can I change email from within MySQL?

Skin Selection:
 (1 pages) 1  
Jasper

Public Speaker
Group: Testers
Posts: 562
Reputation: 10


Posted on Dec 10, 2006, 10:28 am by Jasper
How can I change email from within MySQL?
I forgot my password, but I also forgot to change the default email address for id 1 "webmaster@clicdev.com" to my actual email address. So I can't get emailed a password reminder.


I know how to access the table in MySQL, but I don't know the SQL command that will change the email address for me.





Btw, it's for this board

Last edit by Jasper on Dec 10, 2006, 10:30 am
doesn't come here often, cause he has no free time ;_;
 
Top

chris

The Culprit
Group: Admins
Posts: 1,541
Reputation: 38


Posted on Dec 10, 2006, 8:55 pm by chris
update [yourprefix]users set password=PASSWORD('[yourpassword]') where user_ID=1;

Of course, you have to replace [yourprefix] and [yourpassword] with their real value.

Afterwards I would recommend changing that password using the user cp as I do not trust passwords generated using PASSWORD() - nBBS is compatible with this format but it's only to support user bases migrated from other software.

 
Top

Jasper

Public Speaker
Group: Testers
Posts: 562
Reputation: 10


Posted on Dec 11, 2006, 7:58 am by Jasper
Thanks Chris, that worked
doesn't come here often, cause he has no free time ;_;
 
Top

 (1 pages) 1 - Flat Mode | Threaded Mode  
Quick Jump:

         
Page generated in 0.04 seconds (Queries: 0.00) - Cpu: 0.15
Total DB [adodb:mysql] queries: 15
Total Strings Translated: 13
Powered by NextBBS SE v0.4.5 - Copyright © 2007 CFR & The NextBBS Team
Chatbox powered by smiletag