MySQL Forums
Forum List  »  Newbie

Re: This CMD window bothers me.
Posted by: Herrick Peterson
Date: August 19, 2026 11:04PM

Hello Joachim

That's not MySQL, that's Apache being launched via a batch script (likely from XAMPP or WAMP) that opens a visible console window by default.

You can try one of the below fixes:

1) Easiest: in your control panel (XAMPP Control Panel etc), there's usually a checkbox or config option to run services without a console window, look for "Windows Service" or run in background instead of launching via batch file.
2) If it's launched via a .bat file directly, edit it to start minimized:
start /min "" "C:\path\to\httpd.exe"
3) Or install Apache as a proper Windows service instead of running it through the batch script:
httpd.exe -k install
net start Apache2.4

Once it's a service, it runs in the background with no CMD window at all, and it'll survive reboots without needing the control panel open.

Please let me know if this works for you.

Regards,
Herrick
Technical support Executive

Options: ReplyQuote


Subject
Written By
Posted
Re: This CMD window bothers me.
August 19, 2026 11:04PM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.