I'm trying to reset my MySQL password in Terminal (OSX user) and am feeling my way through the process, as I know very little Unix. The guide I'm using suggests the following command as the final step:
shell> mysqld_safe --init-file=~/mysql-init &
to which Terminal responds (when I do it) with:
[1] xxxx
thomas-computer:~ root# -sh: shell: command not found
or something to that effect. substitue some numbers for the x (typically 1300-1500)
The method can be seen here:
http://dev.mysql.com/doc/refman/5.0/...rmissions.html
I've created the password file in the root directory, and have found the file I believe to be the correct .pid
What am I doing wrong? Can someone pleeease guide me through this?