[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] mysql 4 package?
- Subject: RE: [cobalt-users] mysql 4 package?
- From: desa15@xxxxxxxx
- Date: Tue Feb 10 06:49:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
If you get the binary precompiled versión (not download the source tree
!!!) dont have any problem is the best way to make this.
The binary precompiled version is very optimized and run perfect !!!!
Only download the precompiled version
wget www.mysql.com/Downloads/MySQL-4.0/mysql-4.0.16.tar.gz
(is a unreal path)
tar zxvf mysql-4.0.16.tar.gz (decompress)
mv mysql-4.0.16 mysql
cd mysql
Omit this steps
> #Only if you download the source code version
> #Begin
>
> ./configure --prefix=/usr/local/mysql
> --with-unix-socket-path=/var/lib/mysql/mysql.sock
> --with-mysqld-user=mysql
> make
> make install
>
> #End
Continue here
chown mysql.mysql /usr/local/mysql
scripts/mysql_install_db (install default database)
Rename the 3.23.56 binaries to _old
for file in *; do mv /usr/local/mysql/bin/$file
/usr/bin/$file_old; done
Make the links to the new binaries
for file in *; do ln -s /usr/local/mysql/bin/$file
/usr/bin/$file; done
chown -R mysql.mysql /var/lib/mysql
chmod 755 /var/lib/mysql
Start the new engine
/usr/local/mysql/bin/safe_mysqld &
Press Ctrl + C
Copy the new start script
cp support-files/mysql.server /etc/rc.d/init.d/mysql
Un saludo, Danny