At 10:29 -0600 4/5/02, Lenny Sorey wrote:
>I'm having a bit of a problem trying to get MySQL version 4.0.1-alpha-max-nt
>to accept The Command - Line Tool to run a script to create a table.
>My operating system is Windows 2000 Professional. I can connect with
>MyODBC-3.51.02.exe without any problem and run successful queries.
>I am using the model example from chapter 4.8.2 The Command-line Tool.
>I am trying to create a table in the test database example in MySQL
>I am logged in correctly and using the test database that is created when
>MySQL is installed as best as I can tell by reviewing the command line mysql
>I am issuing the command line statement at the mysql prompt: mysql test <
That's your problem. Issue that command from the DOS prompt.
>I get the following mysql error: ERROR 1064 You have an error in your SQL
>near 'mysql test < create1.sql' at line 1