Answers for "Backup of MySQL"

SQL
8

mysql dump restore

mysql -u [user] -p [database_name] < [filename].sql
Posted by: Guest on July-14-2020
1

mysql backup table

mysqldump db_name table_name >  table_backup.sql
Posted by: Guest on November-10-2020
0

mysql backup query

#Take backup of database
mysqldump database > backup-file.sql; 

#Restore database
mysql database < backup-file.sql;
Posted by: Guest on February-23-2021
2

mysql backup database

mysqldump database_name > database_name.sql
Posted by: Guest on May-07-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language