restore database dump mysql code example
Example 1: database dump mysql command
mysqldump -u username -p dbname > filename.sql
Example 2: mysql dump restore
mysql -u [user] -p [database_name] < [filename].sql
mysqldump -u username -p dbname > filename.sql
mysql -u [user] -p [database_name] < [filename].sql