I found that I can import sql through command
mysql -u username --default_character_set utf8 -p password -h localhost databasename < C:/data.sql
mysql -u username --default_character_set=utf8 -p password -h localhost databasename < C:/data.sql
However, it shows only the mysql version and variables and did not import.
Is that command wrong?