Quote:
Originally Posted by 5huvoo
i forgot my mysql root password and these problems occurs
|
The error you posted in the subject line (you really need to post these things in the question, though):
Quote:
Originally Posted by 5huvoo
sudo cp -rp ./mysqld ./mysqld.bak cp: cannot stat './mysqld': No such file or directory
|
...has nothing to do with your mysql root password. You're trying to copy a directory...and the message is VERY CLEARLY telling you the mysqld directory is not in your current folder. What you're trying to copy isn't there....so go into the root folder where that directory IS, and run that command.