mysql dump restore
mysql -u [user] -p [database_name] < [filename].sql
mysql dump restore
mysql -u [user] -p [database_name] < [filename].sql
backup mysql data only
mysqldump -u testuser -p --no-create-info testdb > /tmp/backup_data_only.sql
mysql backup table
mysqldump db_name table_name > table_backup.sql
mysql backup query
#Take backup of database
mysqldump database > backup-file.sql;
#Restore database
mysql database < backup-file.sql;
mysql backup database command line
mysqldump database_name > database_name.sql
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us