Table of Contents

MySQL - MariaDB

apt install mariadb-server

Move/Copy database

On old server

olddb=tng

On new server

newdb=tng
echo "CREATE DATABASE $newdb;" | mysql -u root
echo "SHOW DATABASES;"         | mysql -u root

See Also

https://www.digitalocean.com/community/tutorials/how-to-install-mariadb-on-debian-9