[EMAIL PROTECTED] wrote:
> 
> try
> 
> echo file.sql > mysql -u username -p password databasename
> 

You mean:

  ^^^^          ^
  cat  file.sql | mysql -u username -p password databasename
  ^^^^          ^ 

Or, better:

   mysql -u username -p password databasename < file.sql


-- 
Jack Challen
Technical Consultant
OCSL
http://www.ocsl.co.uk/

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to