List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:April 5 2002 5:17pm
Subject:Re: Command Line Tool
View as plain text  
At 10:43 -0600 4/5/02, Paul DuBois wrote:
>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
>>binary version
>>
>>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
>>status.
>>
>>I am issuing the command line statement at the mysql prompt:  mysql test  <
>>create.sql;
>
>That's your problem.  Issue that command from the DOS prompt.

Having just been castigated in private mail for being "snippy" in
my response, I'll amend that to:

That's the 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

Thread
Command Line ToolLenny Sorey5 Apr
  • Re: Command Line ToolPaul DuBois5 Apr
    • Re: Command Line ToolPaul DuBois5 Apr
  • Re: Command Line ToolBD5 Apr