11.13.07

Quieting MySQL - Disabling beep in Windows.

Posted in MySQL, Programming at 12:17 am by Robert Horvick

I write code in bed at night on my laptop.  I tend to make typos in the dark (yeah … that’s why).  In MySQL interactive shell an error generates a beep on windows (ASCII BEL).  It is loud.  Being night, this bothers my wife.  I need to avoid this.

I googled for “disable beep in mysql” and the first hit was MySQL bug 17088 “Command line tools beep too loud on Windows”.

The answer?  Turn off the beep service on windows.

> net stop beep

Beeps stopped.

Wife sleeps.

Typos continue.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]

9 Comments »

  1. here by quincidence said,

    January 29, 2008 at 5:27 am

    thx ^^ that was useful too
    I am trying to disable ruby on rails on windows Vista and using apache and I found u..

    u have any idea how to disable ruby but leave apache and php and mysql running without uninstalling ruby…
    sry to post it here… but I was searching for a long time
    and its late now …
    and I am tired and desperate…
    if u could send me any help it be apreciated

  2. Nick said,

    February 4, 2008 at 10:48 am

    This would stop the beep service until the next reboot (at least it did it on my machine). To disable it permanently, please refer to M$ article:

    http://support.microsoft.com/kb/838671

  3. Mike said,

    May 13, 2008 at 6:30 pm

    You’re my fucking hero. Thanks.

  4. Jo said,

    August 6, 2008 at 12:29 am

    ^^ WHS

  5. Rajib said,

    September 10, 2008 at 6:22 am

    i successfully off error beep in mysql..good solution.

    Rajib Das
    India

  6. DD said,

    September 11, 2008 at 9:46 pm

    I get Access is denied on my Vista ulimate command line when I execute this command.

  7. ButtonPol said,

    October 21, 2008 at 7:17 pm

    Gosh, I’ve been searching it a lot. Really thank you.

  8. Hans said,

    November 5, 2008 at 12:55 am

    Dude, my wife was about to kill me, no she can sleep..

    Thanks a lot from Colombia…
    ;-)

  9. Raj said,

    December 16, 2008 at 10:09 am

    THANKS a ton :)

Leave a Comment