리눅스에 대한 모든 것
by 변익수
카테고리
이전 블로그
추천 사이트
Mysql 간단 설치(mysql-4.0.26)
# RPM으로 설치 된 mysql 검색 후 삭제 한다.
$ rpm -qa | grep mysql
mysqlclient10-3.23.58-4.RHEL4.1
mysql-4.1.12-3.RHEL4.1

$ rpm -e mysqlclient10
$ rpm -e mysql --nodeps

$ cd /usr/src
$ wget ftp://ftp.superuser.co.kr/mysql/mysql-4.0.26.tar.gz
$ tar zxvfp mysql-4.0.26.tar.gz
$ cd mysql-4.0.26

$./configure --prefix=/usr/local/mysql
--sysconfdir=/usr/local/mysql/etc
--localstatedir=/usr/local/mysql/data
--with-mysqld-user=mysqld
--with-openssl
--with-charset=euc_kr && make && make install

$ cd support-files
$ vi /etc/profile
PATH="$PATH:/usr/local/mysql/bin:/usr/local/mysql/sbin"
$ source /etc/profile

$ mysql_install_db

$ useradd -M -u 3306 -c "mysql server" -s /bin/false -d /usr/local/mysql/data mysqld

$ chown -Rc mysqld.mysqld /usr/local/mysql/data

$ /etc/init.d/mysqld start

$ mysql
mysql> use mysql
mysql> update user set password = password('xxxxx') where user = 'root'; // root 패스워드 변경
mysql> flush privileges;
mysql> quit
by 변익수 | 2006/08/24 10:22 | Mysql | 트랙백 | 덧글(0)
트랙백 주소 : http://iksu.egloos.com/tb/275881
☞ 내 이글루에 이 글과 관련된 글 쓰기 (트랙백 보내기) [도움말]

:         :

:

비공개 덧글

< 이전페이지 다음페이지 >


최근 등록된 덧글
조금 길긴 하지만, 자..
by 초하 at 09/05
http://1991hondaprelud..
by Fre at 07/23
http://1991hondaprelud..
by Peg at 07/17
http://1991hondaprelud..
by Emm at 07/04
http://1991hondaprelud..
by Arnold at 07/04
http://1991hondaprelud..
by Arnold at 07/04
http://1991hondarepair..
by Pip at 07/04
http://1991hondaprelud..
by Lionel at 07/04
http://1991hondarepair..
by Pip at 07/04
http://1991hondaprelud..
by Jerry at 07/04
메모장
처음으로 블로그를 접해 보았는데.. 아주 괜찮은 것 같네용!!
꼭! 필요한 자료, 정확한 자료, 깔끔한 자료를 올리겠습니다.!!
포토로그
rss

skin by 이글루스