MySQL Forums
Forum List  »  Newbie

Re: Importation using Command line
Posted by: Rick James
Date: April 13, 2016 06:21PM

If the .sql file has USE in it, then

mysql < foo.sql

If not, then

mysql dbname < foo.sql

Options: ReplyQuote


Subject
Written By
Posted
Re: Importation using Command line
April 13, 2016 06:21PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.