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 ?
>>
>> 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 "become text files" by themselves. This takes human
> intervention in one way or another. How secure is your network? Have
> you checked your system for intrusions? How many people have access
> to your system? What's their level of skill on the system?
>
> If you still have your data files, all may not be lost.
--
Gerald L. Clark
[EMAIL PROTECTED]
---------------------------------------------------------------------
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