>From the command line you can load syntax from a file
mysql -u [username] -p [database] < filename.txt
On Mon, 30 Apr 2001 [EMAIL PROTECTED] wrote:
> > query: load data local infile "file.txt" into table
> > my_table
>
> Thank you.
> But for creating an entire and complex database?
> I mean If you have to create 40 table?!?
> there is a way to do it by ascii file?
> I write the SQL commands once and then I can recreate the db whth tables in
> different computers.
> Thank you in advance, Mario.
>
> ---------------------------------------------------------------------
> 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
>
>
--
Shawn Cummings
bostonwebspace.com
$9 webhosting/mySQL/Perl/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