how to import database in mariadb locally code example Example: import database mysql command line mysql -u username -p new_database < data-dump.sql