问题
Recently I created my development server using php7.0.1, mysql5.7 and apache 2.4.20.
After I successfully got it running, I checked the file size of my server and found that it is almost 2 GB.
So I digged further and found that mysqlserver.lib file inside mysql/lib folder is around 976 MB.
So my problem is how can I make my server file size smaller?
Is this mysqlserver.lib
safe to delete?
I don't see mysqlserver.lib in the wamp2.5
version of mysql.
Any suggestion for making file size in mysql community edition smaller is welcome.
回答1:
The lib
folder is there for you to compile MYSQL yourself if you want. So it is not required for normal running.
So as long as you dont want to recompile MYSQL yourself you should be able to safely remove the whole folder.
来源:https://stackoverflow.com/questions/37404066/why-is-mysqlserver-lib-file-very-large-is-this-file-neccessary-in-wamp-stack