Reinstall MySQL?

zxzxzx

New member
Joined
Nov 22, 2009
Messages
1
I have just remove MySQL
Code:
[root@l3 ~]# rm -fr /var/lib/mysql
[root@l3 ~]# rm -f /usr/sbin/mysqld

And now, I can't start MySQL.
Can you help me fix this case? And Will my databases lost? (I don't want my database lost)
Thank you very much.
 
Last edited:
u should make a spartan copy of mysql database copyng /home/mysql/* in another position then

cd /usr/local/directadmin/custombuild/
./build mysql

if it cancel ur /home/mysql/ just copy back your backup

regards
 
Back
Top