Today we will discuss the mysql database import using the command line tool.
This is the command is used for the import the data from .sql file and put into the mysql database.
mysql -h[server_name] -u[user_name] -p [database_name]</tmp/database_name.sql
Here server_name is the server name. it could be localhost or server name
user_name: database user name
database_name: database name where you want to import .sql file data