In some instances MySQL will not accept the above line due to the host parameter not being utilized, I generally use:

MySQL Export: mysqldump -uusername -ppassword database_name > backup_file.sql
MySQL Import: mysql -h localhost -uusername -ppassword database_name < backup_file.sql


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!