MySQL DB import/export command line in Windows
Use this for export:

mysqldump -u username -p databasename &gt; filename.sql


this is my Sample Export in CMD and i'll save in drive D:\ 

mysqldump -u root -pmypassword pos &gt; d:\pos.sql