Import data into MySQL from any file | Eklavya Online

Import data into MySQL from any file

How to Import data into MySQL from any file:
Mysql –u root <db.sql (for database and tables)
Mysql –u root <data.sql (for data into tables)