Manually Creating The MariaDB Windows Service

I’ve been doing quite a bit of work with MariaDB, a drop-in replacement for MySQL (forked from the MySQL codebase by Monty Widenius, the creator of MySQL). One issue I ran into is that the current Windows installer does not create the Windows service that you generally would want to use. And because I had to (yet again) dig around today for the solution, I am posting it here for the next time I need it.
At a command prompt, go to the bin folder under the MariaDB installation folder, and then run:
mysqld --install
You should see a message telling you that the service (named MySQL by default) was created.

2 responses to “Manually Creating The MariaDB Windows Service”

  1. Ryan F Avatar
    Ryan F

    What is the benefit of MariaDB over MySQL? Why not just use MySQL from the outright?

  2. Ben Forta Avatar
    Ben Forta

    I still do use MySQL extensively. But, the pace of updates (official releases as well as community submissions) has slowed, and that’s been frustrating some of the MySQL leads. This already started in Sun days, and there are fears that it’ll get worse in Oracle days. MariaDB already has started adding features and functionality not in the core MySQL builds.
    — Ben

Leave a Reply