1.Computer Properties>Advanced system setting>Advanced>Environment Variables>system variables>path>edit>64 then ;
E:\XAMPP\mysql\bin folder path then ok,Then where have your Database shift+mouse right button click >open command window here
2.mysql -h localhost -u root databaseName < database.sql