Every time when I type in a wrong MySQL command at the console, there’s a very annoying beep sound coming out from my laptop and it is LOUD!. I keep looking for solutions on the Internet and found out that I’m not the only person who tries to disable the warning beep sound.
After sometime, I’ve finally found the solution. All you got to do is use the -b option.
At first, I try to use that option in the MySQL console, but it does not work at all, that annoying beep sound wouldn’t go off.
You’ll have to type it at the Command Prompt. Go to Run > type “cmd” to opens up the Command Prompt. Example: C:\>mysql –b –u root –p
Reference : https://dev.mysql.com/doc/refman/8.0/en/mysql-command-options.html#option_mysql_no-beep