Page 1 of 1

Register the MariaDB windows services

PostPosted: 14. August 2022 13:40
by mbenic
hi can you tell me how to register the mariadb as a windows service
i have a default installation of xampp and mariadb is in the C:\xampp\mysql folder
thanks for help

Re: Register the MariaDB windows services

PostPosted: 14. August 2022 15:52
by Altrea
Start your XAMPP control panel with elevated administrator rights (rightclick -> run as Administrator) and click on the red cross next to mysql.

Re: Register the MariaDB windows services

PostPosted: 15. August 2022 09:53
by mbenic
when i try this i get an message telling me that services cannot be installed or uninstalled while the service is running
i have to do it some other way
any leads on where i can find out how register mariadb as a service some other way
thanks for help

Re: Register the MariaDB windows services

PostPosted: 15. August 2022 10:52
by Altrea
You need to stop MariaDB first to register the service for it.

Re: Register the MariaDB windows services

PostPosted: 16. August 2022 10:20
by mbenic
yes i did as you suggested
clicked the cross to run as a service and then started mysql
and its up and running now
havent checked for any errors yet

can you tell me how do i close it down ?
in what order do i shut it down?
do i first click stop and then the tick
or the other way around

thanks for help

Re: Register the MariaDB windows services

PostPosted: 16. August 2022 11:23
by Altrea
There are multiple ways to shut MariaDB down:
- click the Stop Button in your XAMPP control panel
- Shutdown the mysql Service in your Windows services control window
- Shutdown Windows
All of this will shutdown MariaDB.

The red cross/green tick icon is just for registering/unregistering the service itself. You don't need to unregister the service to stop MariaDB.

Re: Register the MariaDB windows services

PostPosted: 16. August 2022 13:44
by mbenic
thanks for help