just start mysql using the command
example: sudo /opt/lampp/lampp startmysql
and find path of mysql , it will be placed in bin directory of lampp, then login
example: /opt/lampp/bin/mysql -u root
/opt/lampp/bin/mysql -u root -p ecig_retail < '/home/lovekunar/Downloads/ecig_retail.sql'