restore mysql database from backup code example
Example 1: restore backup mysql .gz
gunzip < yourDatabaseName.sql.gz | mysql -u root -p yourDatabaseName
Example 2: mysql restore backup from multiple files
find . -name '*.sql' | awk '{ print "source",$0 }' | mysql --batc