Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove mysql service from WAMPServer

I have installed WAMPServer 3.1.7 in my server and working fine. But due to environment restriction I have to remove the database from it. I have both mysql and mariadb installed in server.

How can I remove these databases from WAMPServer?

like image 383
Sabith Avatar asked Jan 15 '19 04:01

Sabith


2 Answers

You can deactivate both MySQL and/or mariaDB in WAMPServer if you want to. You simply use the wampmanager icon in the system tray.

Start WAMPServer, then

RIGHT CLICK the wampmanager -> Wamp Settings 

You should see something like the below image.

NOTE In the image I have already deactivated mariaDB

Where you see Allow MySQL and Allow mariaDB they will be ticked with a green tick.

Click one of these and that database will be removed. Allow a few seconds for WAMPServer to complete the task and restart itself, then click the other database and allow that to complete and restart WAMPServer.

When you go back to this menu the green ticks should have been removed.

enter image description here

like image 181
RiggsFolly Avatar answered Sep 23 '22 01:09

RiggsFolly


In addition to @RiggsFolly 's answer(After unchecking db names from the menu), I did some more action to remove the db files from the server itself as follows(screenshot attached):

WAMP icon(Right click) -> Tools ->Delete Unused versions -> 
{Delete unwanted versions of DB, PHP, apche}

enter image description here

Deleting the folder directly from the WAMP folder will cause crash as WAMP server still expecting those folders and versions to be available. Doing this way ensures WAMP Server will not check for older versions and it will run without any crashes.

like image 41
Sabith Avatar answered Sep 21 '22 01:09

Sabith