restore mysql with mysqldump code example
Example 1: install mysqldump
# Mysql
sudo apt-get install mysql-client
# MariaDB
sudo apt-get install mariadb-clients
Example 2: mysqldump restore
mysql -u [user] -p [database_name] < [filename].sql
# Mysql
sudo apt-get install mysql-client
# MariaDB
sudo apt-get install mariadb-clients
mysql -u [user] -p [database_name] < [filename].sql