mysql db restore command line code example Example: mysql restore database mysql -u [user] -p [database_name] < [filename].sql