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
er 01, 2001 2:36 AM
Subject: Re: weird error that I have not encountered in 2 years
> 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 i
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,