I want to clearly remove mariadb on ubuntu 18.04, and reinstall it again.
But I have problems when trying it.
To remove mariadb clearly, I run this command as root
apt-get purge mariadb-server mariadb-client apt-get autoremove
This is the log from /var/log/apt:
Start-Date: 2020-03-07 08:17:01 Commandline: apt install mariadb-server mariadb-client Requested-By: xdnroot (1000) Install: mariadb-server:amd64 (1:10.4.12+maria~bionic), mariadb-client:amd64 (1:10.4.12+maria~bionic) End-Date: 2020-03-07 08:17:02 Start-Date: 2020-03-07 12:06:11 Commandline: apt-get purge mariadb-server mariadb-client Purge: mariadb-server:amd64 (1:10.4.12+maria~bionic), mariadb-client:amd64 (1:10.4.12+maria~bionic) End-Date: 2020-03-07 12:06:12
Then I deleted some binary files and directories that begining by "mysql" and "mariadb": /etc/mysql /var/lib/mysql and /var/lib/mariadb /usr/bin/mysql* and /usr/bin/mariadb* /usr/lib/mysql* and /usr/lib/mariadb*
First problem: When I reinstall mariadb, there is a log: "Reading database ... 283314 files and directories currently installed."
Second problem: After I reinstall mariadb-server and mariadb-client, I did not get the binary and library files and directories that I deteleted it before. Even /etc/mysql, I did not get it.
So, the question is "How to get mysql binary adn library files?"