Eugene,
Thursday, May 23, 2002, 4:42:57 PM, you wrote:

EM> Victoria
EM> Thanks for the quick response.  If I enter what you provided using a 'dos'
EM> command, I get "Access is denied".

Check your permissions! If you get any error you should include full
error message! Besides, if you use user name and password when you connect to the 
MySQL server you should use it in this case, too:
     mysql -uuser_name -ppassword database_name < create_president.sql

EM> I thought I had to be in Mysql in order to execute the command. So I enter
EM> (in dos) mysql\bin\mysql to get into mysql.  And, I get the 'Welcome to the
EM> MySQL monitor' message.

EM> I type USE samp_db and get the 'Database changed' message.

EM> I then type samp_db (because that's the directory sample database is in,
EM> right?) < create_president.sql; and I hit return.  I then get Error 1064.

EM> Have I misinterpreted the manual?

Eugene, it's not a SQL command that you can execute in the MySQL
client program!

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