변군이글루

[MySQL] MySQL 클라이언트 설치 본문

* 리눅스

[MySQL] MySQL 클라이언트 설치

변군 변군이글루 2021. 7. 22. 10:38
728x90

MySQL 클라이언트 설치

mysql57 community 저장소 다운로드 및 설치

https://dev.mysql.com/downloads/repo/yum/

$ rpm -ivh https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm

or mysql57.repo 수동으로 생성

cat <<EOF > /etc/yum.repos.d/mysql57.repo
# Enable to use MySQL 5.7
[mysql57-community]
name=MySQL 5.7 Community Server
baseurl=http://repo.mysql.com/yum/mysql-5.7-community/el/7/$basearch/
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
EOF

mysql client 설치

$ yum install -y mysql-community-client
======================================================
 Package                                      Arch    
======================================================
Installing:
 mysql-community-client                       x86_64  
 mysql-community-libs                         x86_64 
 mysql-community-libs-compat                  x86_64 
Installing for dependencies:
 mysql-community-common                       x86_64 
 ncurses-compat-libs                          x86_64

mysql clinet 버전 확인

$ mysql -V
mysql  Ver 14.14 Distrib 5.7.35, for Linux (x86_64) using  EditLine wrapper
728x90
0 Comments
댓글쓰기 폼