Re: Executing Pre-Written Commands

2004-04-23 Thread Michael Stassen
Brian Reichert wrote: On Fri, Apr 23, 2004 at 10:47:53AM -0400, Chris Stevenson wrote: Anyone out there have any experience with the book MySQL by Paul DuBois? I'm having trouble figuring out how to save/reuse executed commands (primarily creating tables at this point). Perhaps I could bounce a f

RE: Executing Pre-Written Commands

2004-04-23 Thread Dathan Vance Pattishall
Paul book is killer, I have the 1st and second addition - but to answer your question the mySQL client can save commands, but if your looking for something in mySQL itself to do that it can't. To create tables you can do something like this. %>mysql -h -uroot -p -f < The ddl file (text file) ca

Re: Executing Pre-Written Commands

2004-04-23 Thread Brian Reichert
On Fri, Apr 23, 2004 at 10:47:53AM -0400, Chris Stevenson wrote: > Anyone out there have any experience with the book MySQL by Paul DuBois? > I'm having trouble figuring out how to save/resuse executed commands > (primarily creating tables at this point). Perhaps I could bounce a few > questions o