MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 11th, 2009, 08:08 AM
cyphix cyphix is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 251 cyphix User rank is Lance Corporal (50 - 100 Reputation Level)cyphix User rank is Lance Corporal (50 - 100 Reputation Level)cyphix User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 4 h 8 m 59 sec
Reputation Power: 8
Where do I get mysqld_safe?

Hey guys...... I need to recover my MySQL root PW & it seems I need to run mysqld_safe.exe so I can login without a password.... but I can not for the life of me find out where I can get this file?

I normally use xampp & it's not included there, so I downloaded MySQL from mysql.com & it's not included there either.

HELP!!!!!!!

Reply With Quote
  #2  
Old August 11th, 2009, 01:56 PM
sr sr is online now
Problem Solver
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: Jan 2001
Location: Stockholm, Sweden
Posts: 4,434 sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level)sr User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 8 h 2 m 14 sec
Reputation Power: 532
It's not a .exe file it's a shell script (.sh) and it is only available on Unix and you don't need it.

You just run the normal mysqld binary:
mysqld.exe --skip-grant-tables ...

That way the mysql server starts and you can change the password.
Just remember to stop and start the server once more after you changed it since otherwise the server is still wide open for access.
__________________
/Stefan

Reply With Quote
  #3  
Old August 11th, 2009, 02:48 PM
cyphix cyphix is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2005
Posts: 251 cyphix User rank is Lance Corporal (50 - 100 Reputation Level)cyphix User rank is Lance Corporal (50 - 100 Reputation Level)cyphix User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 4 h 8 m 59 sec
Reputation Power: 8
Ok thank you for the info!

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > Where do I get mysqld_safe?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap