블로그 이미지
신세계 SSG.COM / IT개발 1팀 / 상품개발담당 / 김지영 FreeEnd

카테고리

전체 (81)
끄적끄적 (13)
News (1)
Movie (11)
Security (1)
Design Patterns (2)
Operating System (4)
Database (8)
Framework (4)
Solution (7)
Language (1)
Web (4)
Lib (3)
TEST_Tools (4)
ETC... (7)
Software Factory (0)
Total185,672
Today55
Yesterday52


달력

« » 2017.04
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

공지사항

글 보관함

'설치'에 해당되는 글 1건

  1. 2010.09.08 Linux에 MYSQL 5.1 RPM 설치 (2)

MYSQL 5.1 Server RPM 다운로드

MySQL - Server
(MySQL-server-5.1.50-1.glibc23.i386.rpm)
download (ftp) : http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-server-5.1.50-1.glibc23.i386.rpm/from/ftp://mirror.khlug.org/mysql/

MySQL - Client
(MySQL-client-5.1.50-1.glibc23.i386.rpm)
download (ftp) : http://dev.mysql.com/get/Downloads/MySQL-5.1/MySQL-client-5.1.50-1.glibc23.i386.rpm/from/ftp://mirror.khlug.org/mysql/



1. 다운로드가 끝나면 RPM으로 설치된 다른 MYSQL 이 있는지 검사한다.
예> #rpm -qa | grep MySQL
MySQL-Server-XXXX
MySQL-Client-XXXX
MySQL-devel-XXXX
....


2. 해당 MySQL 을 삭제한다. (옵션 : -e)
 예> #rpm -e MySQL-XXXX

 그냥 안지워지면 강제로 삭제한다. (옵션 --nodeps)
 예> #rpm -e --nodeps MySQL-XXXX


3. 이제 설치한다.
3-1  MySQL Server 설치
 예> #rpm -ivh MySQL-server-5.1.50-1.glibc23.i386.rpm 
   준비 중...                  ########################################### [100%]
   1:MySQL-server           ########################################### [100%]
PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h alidev2 password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation
which will also give you the option of removing the test
databases and anonymous user created by default.  This is
strongly recommended for production servers.
See the manual for more instructions.
Please report any problems with the /usr/bin/mysqlbug script!
Starting MySQL..[  OK  ]

3-2   MySQL client 설치
 예> #rpm -ivh MySQL-client-5.1.50-1.glibc23.i386.rpm 
   준비 중...                  ########################################### [100%]
   1:MySQL-client           ########################################### [100%]


4. 설치후 admin 비밀번호를 설정한다
예> mysqladmin -u root password pass1234

5. mysql 로 로그인한다
예> mysql -u root -p pass1234


 
수고하셨습니다. 지영옹.
신고
크리에이티브 커먼즈 라이선스
Creative Commons License
Posted by 지영옹 FreeEnd

티스토리 툴바