I downloaded mysq-standard-4.1.12-pc-linux-gnu-i686.tar.gz
from mysql.com. Unzipped, moved and renamed to /usr/local/mysql
, added user and group mysql
, ran ./scripts/mysql_install_db --user=mysql
and started mysql and it worked fine.
When I was changing the root password, I screwed up and deleted some stuff I didn't know what was so I decided to reinstall the DB. I deleted the /usr/local/mysql folder and did the process over again. I think I should've stopped the mysql before I deleted the folder (however I do that) but anyway, now, when starting the server, it says:
[root@localhost mysql]# ./bin/mysqld_safe --user=mysql &
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
050621 13:42:57 mysqld ended
+ Done ./bin/mysqld_safe --user=mysql
It won't start no matter what I do. I tried restarting the computer. I'm no linux guru... so... does anyone know what I can do to reinstall the db and make it work?