HubsInfo Network
Discord Social hublist.config Web Hosting Online Games WoW servers L2 servers Free Web Directory

Export and Import a MySQL or MariaDB database

0 Members and 1 Guest are viewing this topic.

Export and Import a MySQL or MariaDB database
« on: July 02, 2019, 05:01:54 AM »
Export your database via the command line
Code: [Select]
mysqldump --host=server --user=user --port=port --password=password database_name > database_name.sql

Import your database via the command line
Code: [Select]
cat database_name.sql | mysql --host=server --user=user --port=port --password=password database_name




 


Linux Ubuntu Guides Linux games - Lutris.net