mysql_upgrade: unknown option '--no-beep'
1. 首先 mysql_upgrade 的命令运行方式为如下
mysql_upgrade -uroot -pPass 见Pass换成你的mysql root用户名的密码即可。
The no-beep option causes the mysql command line client not to beep when errors occur.
If that's an option you want, it should be in the [mysql] section of your my.cnf. This error suggests that it's in the [client] section of your my.cnf, which causes mysql_upgrade to throw the error since the option isn't recognized.
Check your my.cnf and either remove the line or place it in the [mysql] section instead of [client] and you should be good.
The [client] option group is read by all client programs (but not by mysqld). This enables you to specify options that apply to all clients. For example, [client] is the perfect group to use to specify the password that you use to connect to the server. (But make sure that the option file is readable and writable only by yourself, so that other people cannot find out your password.) Be sure not to put an option in the [client] group unless it is recognized by all client programs that you use. Programs that do not understand the option quit after displaying an error message if you try to run them.
简而言之，就是打开mysql安装目录下的 my.ini ，搜索 [client] ，然后在 [client] 的下方有一行
3. 重新运行 mysql_upgrade 命令即可
希望对你解决 no beep 提示有帮助