Date: Thu, 29 Aug 2019 17:31:38 +0200 From: Polytropon <freebsd@edvax.de> To: Aryeh Friedman <aryeh.friedman@gmail.com> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: How _completely_ remove/deinstall databases/mysql57-server Message-ID: <20190829173138.a0e2cfac.freebsd@edvax.de> In-Reply-To: <CAGBxaXmGs3OTY4JyE6qg7ed3%2B_5oY83HkyJqqQH5w2p=iZqCNg@mail.gmail.com> References: <CAGBxaXmGs3OTY4JyE6qg7ed3%2B_5oY83HkyJqqQH5w2p=iZqCNg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 29 Aug 2019 09:45:52 -0400, Aryeh Friedman wrote: > I have completely corrupted my mysql installation and doing a reinstall > from ports does not fix it.... How do I completely remove > database/mysql57-server from my machine (including _all_ > database/config/etc. files [these are what make deinstall _does not_ > remove]) I don't have access to a MySQL installation at the moment, but if I remember correctly, you should check for user-supplied or generated files which (as you pointed out correctly) will not be subject to "make deinstall" or "pkg delete". 1. configuration in /usr/local/etc 2. log files in /var/log 3. your actual database files in /var/db (or a custom location if you set any - on Linux, it's often located in /var/lib) Those files and directories need to be removed manually, which is intended and typically the right thing to do. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190829173138.a0e2cfac.freebsd>