Keep mysql server running after closing wamp
Posted by: dapopeyoh (---.leaseweb.com)
Date: February 26, 2014 02:01PM

Hi,

Is there a way i could keep the mysql service running after closing wamp?

Thanks

Options: ReplyQuote
Re: Keep mysql server running after closing wamp
Posted by: RiggsFolly (---.as13285.net)
Date: February 26, 2014 03:57PM

Hi dapopeyoh.

Yes there is:


Edit \wamp\wampmanager.tpl

Find this section

[myexit]
;WAMPMYEXITSTART
Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: wampmysqld; ServiceAction: stop; Flags: ignoreerrors
Action:  exit
;WAMPMYEXITEND

No comment out the line for stopping 'wampapache' with a semi colon ';'

[myexit]
;WAMPMYEXITSTART
Action: service; Service: wampapache; ServiceAction: stop; Flags: ignoreerrors
;Action: service; Service: wampmysqld; ServiceAction: stop; Flags: ignoreerrors
Action:  exit
;WAMPMYEXITEND

Save the file.

right click the wampmanager icon and click 'Refresh'

Give it a couple of seconds to rebuild and then Exit wampmanager.

Check with your Services snapin that the wampmysql service is still running.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.