Re: weird error that I have not encountered in 2 years

2001-09-04 Thread Gerald Clark
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

weird error that I have not encountered in 2 years

2001-08-31 Thread christopher sagayam
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

Re: weird error that I have not encountered in 2 years

2001-08-31 Thread Lezz Giles
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

Re: weird error that I have not encountered in 2 years

2001-08-31 Thread christopher sagayam
so how to fix the error ? How did file /usr/local/mysql/bin/mysql become a text file ? chris - Original Message - From: Lezz Giles [EMAIL PROTECTED] To: christopher sagayam [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, September 01, 2001 2:36 AM Subject: Re: weird error that I

Re: weird error that I have not encountered in 2 years

2001-08-31 Thread s . keeling
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