반응형
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 이 있는지 검사한다.
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%]
예> #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
수고하셨습니다. 지영옹.
반응형