[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: Arthur Sherman <arturs@xxxxxxxxxxxxxxxx>
- Date: Tue Feb 10 07:15:01 2004
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Binary installs it in default path which is a way small partition. I also
don't know which options are preconfigured. So I thought it would be better
to recompile. Meantime it installed in successfully into /home/mysql.
Options used to configure (on raq4r):
CFLAGS="-O3 -mpentiumpro" CXX=gcc CXXFLAGS="-O3 -mpentiumpro \
-felide-constructors -fno-exceptions -fno-rtti" ./configure \
--prefix=/home/mysql --localstatedir=/home/mysql/data
--with-unix-socket-path=/home/tmp/mysql.sock \
--with-mysqld-ldflags=-all-static --enable-assembler \
--with-extra-charsets=complex --with-mysqld-user=mysql
Make and make test succeeded as well.
How do I configure it further - users etc ?
Arthur Sherman
> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx] On Behalf Of
> desa15@xxxxxxxx
> Sent: Tuesday, February 10, 2004 16:48
> To: cobalt-users@xxxxxxxxxxxxxxx
> Subject: RE: [cobalt-users] mysql 4 package?
>
>
> 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
>
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>