Create and import MySQL / MariaDB dump

Create a MySQL / MariaDB dump on command line

Import a dump into MySQL / MariaDB

more

Get parent directory path in Java