[snip]
Like an idiot I locked myself out of the mysql database when I went to
change the password for the root user.  Is there any way I can get back into
that database and restore my mistake?
[/snip]

Stop the mysql serivce, then start it from a command line with the
skip-grant-tables option. You can then log in as root with no password and
then reset the password. Then stop mysql and restart it normally.

In linux:

mysqld --skip-grant-tables

In windows:

mysqld-nt --skip-grant-tables


---
Tom Crimmins
Interface Specialist
Pottawattamie County, Iowa

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to