User Tools

Site Tools


mysql_mariadb

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

/docs/dokuwiki/data/pages/mysql_mariadb.txt · Last modified: 2020-02-08 18:07:51 by mi