Home > Database > Mysql Tutorial > centos6 install mysql client

centos6 install mysql client

高洛峰
Release: 2016-11-21 17:56:33
Original
1657 people have browsed it

Check the operating system version

cat /etc/redhat-release

This command will check whether mysql data has been installed on the operating system

rpm -qa | grep mysql

[root@larry ~]# rpm -e mysql  // 普通删除模式 
[root@larry ~]# rpm -e --nodeps mysql  // 强力删除模式,如果使用上面命令删除时,提示有依赖的其它文件,则用该命令可以对其进行强力删除
Copy after login

Installed through yum

[root@ren ~]# yum list | grep mysql
Copy after login

:

yum install -y mysql-deve
Copy after login

Connect:

mysql -hRDSurl地址 -u账户 -p密码 -P3306
Copy after login


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template