List:MySQL on Win32« Previous MessageNext Message »
From:Paul DuBois Date:June 12 2000 3:19pm
Subject:Re: How do I use mysql in batch mode on Windows 98? (Dubois mysql
p. 27)
View as plain text  
At 3:46 PM +0800 06-12-2000, Michael R. Fahey wrote:
>I'm following along with Paul Dubois's "A MySQL Tutorial" from his excellent
>_MySQL book. How do I create the presidents table using a batch file as per
>Paul's example on p, 27? I'm using Windows 98.
>
>%mysql sample_db < create_president.sql
>
>I've downloaded the necessary files etc. The create_president.sql file is at
>C:/mysql/create_president.sql.
>
>Thanks
>Michael Fahey

Try this:

C:\> mysql sample_db < C:\mysql\create_president.sql

-- 
Paul DuBois, paul@stripped
Thread
How do I use mysql in batch mode on Windows 98? (Dubois mysql p. 27)Michael R. Fahey12 Jun
  • Re: How do I use mysql in batch mode on Windows 98? (Dubois mysqlp. 27)Paul DuBois12 Jun