small problem when compiling mysql 4.1.20
# mysql 4.1.x ??
cd /usr/local/src
wget http://dev.mysql.com/get/Downloads/M...rs.hoobly.com/
tar -xzvf mysql-4.1.*.tar.gz
cd mysql-4.1.*
./configure --prefix=/usr/local/mysql --with-static --enable-static --localstatedir=/usr/local/mysql/data --with-charset=euckr
make
make install
/usr/local/mysql/bin/mysql_install_db
groupadd mysql
useradd -M -c MySQL_Server -d /usr/local/mysql -g mysql -s /bin/nologin mysql
chown root.mysql -R /usr/local/mysql
chown mysql.mysql -R /usr/local/mysql/data
cp /usr/local/mysql/share/mysql/my-huge.cnf /etc/my.cnf
echo "/usr/local/mysql/bin/mysqld_safe &" >> /etc/rc.local
this didn't work either:
# cd /usr/local/mysql ; /usr/local/mysql/bin/mysqld_safe &
[1] 21490
[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
060722 16:35:20 mysqld ended
[1]+ Done /usr/local/mysql/bin/mysqld_safe
[root@localhost mysql]#
[root@localhost mysql]# cd /usr/local/mysql ; /usr/local/mysql/bin/mysqld_safe
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
060722 16:35:56 mysqld ended
[1] 21490
[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
060722 16:35:20 mysqld ended
[1]+ Done /usr/local/mysql/bin/mysqld_safe
[root@localhost mysql]#
[root@localhost mysql]# cd /usr/local/mysql ; /usr/local/mysql/bin/mysqld_safe
Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
060722 16:35:56 mysqld ended