Is it possible to delete MySQL to save storage space?
Posted by: cheeseus (89.25.86.---)
Date: April 25, 2024 03:43PM

I've installed WampServer on my laptop's C: drive but I've almost run out of storage space there, so I could benefit from the 1.18 GB MySQL is occupying in C:\wamp64\bin.

I tried first deactivating it (right click > Wamp Settings > untick "Allow MySQL" ), then deleting the MySQL folder. However, this caused an error in WampServer – I can't recall the exact text of the error message displayed on left click but it was something about no default DBMS being set. Also, my websites stopped working because no connection could be established to the database.

I've set MariaDB as default in right click > Tools > Invert default DBMS MariaDB <-> MySQL. I have been using Maria DB only for at least a year now.

I could not find a way to fix these errors so I had to delete the entire wamp64 folder and install WampServer from scratch. Luckily, all of this happened on my laptop, which is not where all my stuff is and I only use it occasionally when away from my desktop.

Is there a safe way to deactivate and physically delete MySQL?



Edited 3 time(s). Last edit at 04/25/2024 03:45PM by cheeseus.

Options: ReplyQuote
Re: Is it possible to delete MySQL to save storage space?
Posted by: Otomatic (Moderator)
Date: April 25, 2024 04:10PM

- 1 - Set MariaDB as default DBMS, which you have already done

- 2 - Right-click -> Wamp settings -> Uncheck Allow MySQL

- 3 - Quit Wampserver

- 4 - Delete all MySQL version folders in the c:\wamp64\bin\mysql\ folder
the folder c:\wamp64\bin\mysql\ must not be deleted

- 5 - Launch Wampserver

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Is it possible to delete MySQL to save storage space?
Posted by: cheeseus (89.25.86.---)
Date: April 26, 2024 08:58AM

Thanks, this did the trick!

Options: ReplyQuote


Sorry, only registered users may post in this forum.