![忘记 macOS 上的 MySQL 密码](https://linux22.com/image/1620447/%E5%BF%98%E8%AE%B0%20macOS%20%E4%B8%8A%E7%9A%84%20MySQL%20%E5%AF%86%E7%A0%81.png)
请帮助我一步一步地在终端的帮助下设置 MySQL,我想我记不住密码了,或者我搞砸了。我收到以下消息,但我记不住密码了
jaychavan@Jays-Air ~ % cd /usr/local/mysql
jaychavan@Jays-Air mysql % cd /usr/local/mysql
jaychavan@Jays-Air mysql % sudo bin/mysql_secure_installation
NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MySQL
SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY!
In order to log into MySQL to secure it, we'll need the current
password for the root user. If you've just installed MySQL, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.
Enter current password for root (enter for none):