I have the data
directory of an older MariaDB installation, containing various databases. I don't have MariaDB installed, and I don't know which version of MariaDB was installed before, but it's probably a year or two old.
I tried to reinstall MariaDB (v11.0.2
) and using the same data
directory, but getting an error of "Invalid data directory, ..., data directory exist and not empty".
How can I can reinstall MariaDB and use the existing data?