Victoria Thanks for the quick response. If I enter what you provided using a 'dos' command, I get "Access is denied".
I thought I had to be in Mysql in order to execute the command. So I enter (in dos) mysql\bin\mysql to get into mysql. And, I get the 'Welcome to the MySQL monitor' message. I type USE samp_db and get the 'Database changed' message. I then type samp_db (because that's the directory sample database is in, right?) < create_president.sql; and I hit return. I then get Error 1064. Have I misinterpreted the manual? Regards Gene -----Original Message----- From: Victoria Reznichenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 23, 2002 5:50 AM To: [EMAIL PROTECTED] Subject: Re: newbie - Old Samp_db question 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 --------------------------------------------------------------------- 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