Install MySQL as Service in Windows

When you manually install MySQL from zip, no MySQL service get created.

To run MySQL Server as a service in windows, go to the folder where “mysqld.exe” is located and run following command

mysqld.exe install

If you want a differnt name for service, run

Advertisement

mysqld.exe install SERVICE_NAME

You can delete service with command

sc delete SERVICE_NAME

https://googleads.g.doubleclick.net/pagead/ads?gdpr=0&client=ca-pub-3527572573766151&output=html&h=280&slotname=1284802799&adk=2287826343&adf=3729577814&pi=t.ma~as.1284802799&w=1200&abgtt=6&fwrn=4&fwrnh=100&lmt=1727879185&rafmt=1&format=1200×280&url=https%3A%2F%2Fserverok.in%2Finstall-mysql-service-in-windows&fwr=0&fwrattr=true&rpe=1&resp_fmts=3&wgl=1&dt=1727879184795&bpp=7&bdt=291&idt=830&shv=r20240930&mjsv=m202409260101&ptt=9&saldr=aa&abxe=1&cookie=ID%3D7f6b03d523dc17b0%3AT%3D1727700583%3ART%3D1727878686%3AS%3DALNI_MbtvSB1WDRlqL93od_mkPjFy69uGg&gpic=UID%3D00000f155d560fe8%3AT%3D1727700583%3ART%3D1727878686%3AS%3DALNI_MZxj17CTbsHt9d0HEYnptsr8Nyb-A&eo_id_str=ID%3D2784345bb28b9855%3AT%3D1727700583%3ART%3D1727878686%3AS%3DAA-AfjaHwphDwBqcViAWW3OFW6_H&prev_fmts=0x0&nras=1&correlator=4621756441149&frm=20&pv=1&u_tz=300&u_his=1&u_h=768&u_w=1366&u_ah=728&u_aw=1366&u_cd=24&u_sd=1&adx=75&ady=555&biw=1349&bih=643&scr_x=0&scr_y=0&eid=44759876%2C44759927%2C44759837%2C31087429%2C31087434%2C31087546%2C44798934%2C95331690%2C95338242%2C31087628%2C95335246&oid=2&pvsid=444578187217354&tmod=446949455&uas=0&nvt=1&ref=https%3A%2F%2Fserverok.in%2Fcategory%2Fmysql%2Fpage%2F6&fc=1920&brdim=-8%2C-8%2C-8%2C-8%2C1366%2C0%2C1382%2C744%2C1366%2C643&vis=2&rsz=%7C%7CeEr%7C&abl=CS&pfx=0&fu=128&bc=31&bz=1.01&ifi=2&uci=a!2&fsb=1&dtd=1098

Add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement