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.
you can do it in mysql command instead of linux command.
1.login your mysql.
2.excute this in mysql command: use DATABASE_NAME; SET autocommit=0 ; source ABSOLUTE_PATH/TABLE_SQL_FILE.sql ; COMMIT ;