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.
mysql -u root -p -D dbname < tablename.sql