I had successfully imported a database using command line, but now my pain area is how to import a single table with its data to the existing database using command line.
Importing the Single Table
To import a single table into an existing database you would use the following command:
mysql -u username -p -D database_name < tableName.sql
Note:It is better to use full path of the sql file tableName.sql