http://www.mysql.com/doc/en/mysql.html

In the MySQL client, end your command line statement with \.
>From the shell, use this syntax: 
    shell> mysql database < script.sql > output.tab

Edward Dudlik
Becoming Digital
www.becomingdigital.com


----- Original Message ----- 
From: "CM Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, 11 June, 2003 20:31
Subject: How to import MySQL tables from Linux?




Instead of creating tables manually in MySQL, I would
like to import them.  I have done this under Oracle,
with the following 

@a:\sqlfiles\foo.sql

How do I import sql files into mysql using Linux? 

I have a directory under /root/sql

thanks

-Chris 



=====
GTFG

GAIM ID:  cmmiller1973

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to