I'll bet somebody did a
cat afile > /usr/local/mysql/bin/mysql
instead of
cat afile | /usr/local/mysql/bin/mysql
That is why you should not be doing stuff as root.
s . keeling wrote:
> On Sat, Sep 01, 2001 at 04:43:25AM +0100, christopher sagayam wrote:
>
>> so how to fix the error ?
>>
>> Ho
On Sat, Sep 01, 2001 at 04:43:25AM +0100, christopher sagayam wrote:
> so how to fix the error ?
>
> How did file /usr/local/mysql/bin/mysql
>
> become a text file ?
You tell us.
Regardless, is your data still intact? Make sure it's safe, rip out
mysql, and re-install.
Binaries don't just "b
e 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
>
>
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
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 bad