Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I was using the openpanel-mod-mysql module when I kept getting weird error messages.

Then I set out to execute the commands manually and got no response from mysql.

I mean, when I typed in mysql, nothing would happen. So, I got a listing of /usr/bin and then saw that the size of the mysql binary was now zero. Is there anyway that I could get my hands on another copy of mysql-5.1.63 for debian binary?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

If you somehow managed to modify your MySQL client binaries, just reinstall them with your package management. For Debian Lenny/Squeeze that would be

# aptitude reinstall mysql-client-5.1
share|improve this answer
    
I actually could not do this, since I had tons of irremovable stuff dependent on mysql-client. What I ended up doing was I snatched the binary from another VPS I owned and made that executable on my own machine, and now it's back to normal. –  Milad Naseri Nov 20 '12 at 21:06
    
The accept and +1 is for even reading through the stupid question and as a thank you for attempting to help a stupid sysadmin who forgot to take backups ;-) –  Milad Naseri Nov 20 '12 at 21:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.