I'm not a mysql person, but I've seen similar stuff.
I think that for some reason Unix thinks that the file
you're trying to execute is not an executable, so it
is trying to run it as a shell script. Try this first:
file /usr/local/mysql/bin/mysql
and when it tells you that it is a text file, use an editor
to look at the contents of the file. You'll almost certainly
find that it contains SQL commands instead of being
the executable image that it should be.
HTH
Lezz Giles
----- Original Message -----
From: "christopher sagayam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 31, 2001 3:01 PM
Subject: weird error that I have not encountered in 2 years
> can anyone please tell me what is happening here ?
>
>
> [root@ns dump]# /usr/local/mysql/bin/mysql
> /usr/local/mysql/bin/mysql: DROP: command not found
> /usr/local/mysql/bin/mysql: syntax error near unexpected token `('
> /usr/local/mysql/bin/mysql: /usr/local/mysql/bin/mysql: line 12: `CREATE
> TABLE badwordstable ('
> [root@ns dump]#
>
>
> Thanks
>
> chris
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.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