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?
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.
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}
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With