You have to do in your command shell, not mysql shell... Go to run , type cmd and then type mysql < batch-file ..
Gurhan On Thu, 2002-09-05 at 16:12, Horacio Santoyo wrote: > Hello mySQL users, > > I'm a new mySQL user, just installed it two days ago. > I have a quick question... I have a .sql script that I want to run on > mySQL server. I have a Windows XP machine and when I read the mySQL manual, > I think they were talking about a Unix machine. This is what the manual > said to do... "shell> mysql < batch-file" > > But my command line looks like this... "mysql>" > so how do I run the script? > > This is probably a real simple question, but I can't figure it out yet. > > Thanks > > --Horacio > > > --------------------------------------------------------------------- > 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 > --------------------------------------------------------------------- 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