MySQL Forums
Forum List  »  Newbie

Re: How to load text or sql file into mysql commandLine?
Posted by: John seito
Date: October 27, 2007 05:21PM

ok thanks, the files seems to be loaded but my loaded data doesn't seem come out to the command line correctly.

I have the text file save as this;

id 0,
firstname 'andy',
lastname 'Jay',
email 'andyjay@yahoo.com',
phone '123-435-4234'


I created the database with id as interger,
and all the rest as varchar which is text.

note: that I have tab in between id and 0 and all the other infor on the textfile.

in my command line, id and phone field is blank and all the rest are NULL.

thanks,

Options: ReplyQuote




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.