Eugene,
Wednesday, May 22, 2002, 8:59:57 PM, you wrote:

EM> I searched the archive found the issue but not the answer.

EM> Configuration:
EM> I'm running win2000, mysql is loaded and I can manually create databases and
EM> tables per "MySQL" manual (via Amazon).  I've loaded samp_db in sub
EM> directory of mysql.

EM> Problem:
EM> mysql> samp_db < create_president.sql;

EM> Result:
EM> ERROR 1064: You have an error in your SQL syntax near 'samp_db <
EM> create_president' at line 1

EM> Why?

Because your table loading is wrong :) It's not a SQL statement :)
F.e. if your MySQL server is stored in default dir C:/mysql
     C:\mysql\bin>mysql samp_db < create_president.sql

EM> Thanks,
EM> Gene




-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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

Reply via email to