While using MySQL on Windows, each time when an error occurs then you heard a beep. To disable it, you can simply include the b parameter in your connection string.

mysql-b-h server-u user-p