Mysql5 password reset

Ryan Schmidt ryandesign at macports.org
Tue Feb 6 12:41:02 PST 2007


On Feb 6, 2007, at 14:20, Watson Ladd wrote:

> I recently forgot my mysql password. When following the  
> instructions on
> mysql.com to reset it I was able to stop the mysqld daemon through
> launchctl, but when I started mysqld manually with the skip grant  
> tables
>  option it complained about being unable to lock files and became a
> runaway process that did not respond to keyboard input.

So what is your question?

You've provided very few details... we need more information, like:

- What is the URL of the instructions you followed?

- What are the commands you entered?

I can guess at a few things:

- When you started mysqld manually, did you do so as root or with  
sudo? You would need to.

- When you started mysqld manually, did you have "&" at the end of  
the command line? If so, that detaches the process from the terminal  
and explains why you can see output but not provide input. If you  
want to be able to provide input to the process, do not use "&".





More information about the macports-users mailing list