lets say i have a file called mybackup.sql

how can i import it back to my database. well i will show yo.

so lets say i want to import mybackup.sql into my mywallpapers table in my wallpapers database. this is how i would do it

this is the format:
mysql -u [USERNAME] -p[PASSWORD] [DATABASENAME] < FILENAME


so this is how my command will execute:
mysql -u [USERNAME] -p[PASSWORD] wallpapers < mybackup.sql