Search code examples
mysqltaskmanager

Why is mysql running when i am not using it?


I have used mySQL for a project in the past, and haven't used it for months. However, when i check my task manager 'mysql' is using about 100MB of RAM. This happens every times i reboot. Why is my sql running, or using memory when i don't need it. Is a server running in the background that i have to disable? For context i was using my SQL Workbench 8.0 when working on my project.

mysql running on my computer


Solution

    • Open a command prompt window cmd.exe
    • Stop MySQL service: net stop mysql57 (or net stop mysql)
    • Go to your mysql server installation path, in my case: cd "C:\Program Files\MySQL\MySQL Server 5.7\bin\"
    • Execute mysqld.exe --remove

    This will remove the MySQL Service.

    Note that You may need an elevated command line prompt, for that press WIN-X select Command Prompt (Admin)