If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Server 5.1 on Win., Find MySQL User Account Settings to Change Root Password

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-18-11, 14:21
abacusdev abacusdev is offline
Registered User
 
Join Date: Nov 2011
Posts: 1
Server 5.1 on Win., Find MySQL User Account Settings to Change Root Password

Hi All- I'd like to change passwords for users on a 5.1 Windows Server install I did not set up and for which I have no root password.

Here's what I'm working with:
a) I can start in --skip-grant-tables mode and run SQL commands in the mysql shell
b) I have admin access to the Win 2003 server where the install resides
c) I can create a batch file that changes the --init settings and can apply SQL to update the root password, but I'm not clear on where the root password lives
d) There is a user.frm file in [install dir]\Databases\data\mysql
e) I have a particular database I can use, which is where I really need to do the database account password updates, but mysql says the database [db name].users does not exist

I'm wondering where the root account password is located so I can update it.

Thanks in advance.

Tom
Reply With Quote
  #2 (permalink)  
Old 11-18-11, 18:30
it-iss.com it-iss.com is offline
Registered User
 
Join Date: Sep 2009
Location: San Sebastian, Spain
Posts: 620
I had prepared a mini tutorial on the steps to follow in order to change the password. This is based on a Linux system but the principles apply to Windows. Check out: MySQL - changing lost root password - YouTube
__________________
Ronan Cashell
Senior Oracle/MySQL DBA
http://www.it-iss.com
Reply With Quote
Reply

Tags
mysql database, mysql installation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On