/var/log/step2k

February 5, 2008

Install MySQL from Source

Filed under: Freebsd, MySQL, Linux - Salman Teguh @ 4:19 am

[user@host]# su - root
[root@host]# cd /usr/local
[root@host]# tar -xzvf mysql-standard-4.0.9-gamma-pc-linux-i686.tar.gz
[root@host]# cd mysql-standard-4.0.9-gamma-pc-linux-i686
[root@host]# ./configure –prefix=/usr/local/mysql && make && make install && make clean
[root@host]# groupadd mysql
[root@host]# useradd –g mysql mysql
[root@host] # /mysql-standard-4.0.9-gamma-pc-linux-i686/scripts/mysql_install_db
[root@host]# chown -R root /usr/local/mysql
[root@host]# chown -R mysql /usr/local/mysql/var
[root@host]# chgrp -R mysql /usr/local/mysql
[root@host]# /usr/local/mysql/bin/mysqld_safe –user=mysql &

Comments »

The URI to TrackBack this entry is: http://step2k.blogsome.com/2008/02/05/install-mysql-from-source/trackback/

No comments yet.

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>


Get free blog up and running in minutes with Blogsome
Theme designed by Alex King