Solved

Reset mysql root password for xamp on Windows ???

Posted on 2012-12-31
5
541 Views
Last Modified: 2013-02-04
Hi Experts,

I was running xamp  version 1.7.3 (MySQL 5.1.41) in Windows 2008 and MySql root password set to blank. But suddenly I can't log in to the MySQL data base using root.

I have tried http://veerasundar.com/blog/2009/01/how-to-change-the-root-password-for-mysql-in-xampp/

But so far no luck, can you kindly let me know how do I reset MySQL root password ?
0
Comment
Question by:Shakthi777
  • 3
5 Comments
 
LVL 2

Assisted Solution

by:_OpenSys_
_OpenSys_ earned 500 total points
Comment Utility
Please read: http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html

C.5.4.1.1. Resetting the Root Password: Windows Systems
0
 

Author Comment

by:Shakthi777
Comment Utility
Already tried and I get following error;

C:\xampp\mysql\bin>mysqld-nt --init-file=C:\reset.txt
'mysqld-nt' is not recognized as an internal or external command,
operable program or batch file.

Open in new window


Also I tried only "mysqld" and again getting bellow error

C:\xampp\mysql\bin>mysqld.exe --init-file=C:\reset.txt
121231 16:00:40 [Warning] Can't create test file \usr\local\mysql\data\SRV1.lower-test
121231 16:00:40 [Warning] Can't create test file \usr\local\mysql\data\SRV1.lower-test
mysqld.exe: Can't change dir to '\usr\local\\mysql\data\' (Errcode: 2)
121231 16:00:40 [ERROR] Aborting

121231 16:00:40 [Note] mysqld.exe: Shutdown complete

Open in new window


Please help and thanks for your time !
0
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
How are you trying to login?
0
 

Accepted Solution

by:
Shakthi777 earned 0 total points
Comment Utility
Tried phpmyadmin and used Mysql admin GUI too....
0
 

Author Closing Comment

by:Shakthi777
Comment Utility
thanks for the support !
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now