mysql installation detailed flow centos7.4

Reference Links: https://blog.csdn.net/zxy987872674/article/details/81949430

1, download the installation package mysql

    Download: https://dev.mysql.com/downloads/mysql/

2, the decompression installation package

 tar xvf MySQL-5.6.44-1.el7.x86_64.rpm-bundle.tar

3, before installation, pay attention to:

https://blog.csdn.net/tianshuhao521/article/details/93854326

4, mounted reliance

 1、卸载系统自带的MariaDB。【参考 https://blog.csdn.net/tianshuhao521/article/details/93854326
( 1 ) see if there is installed MariaDB: RPM -qa | grep - i MariaDB 
( 2 ) Uninstall MariaDB: RPM - nodeps -e-libs- MariaDB 5.5 . 60 - 1 .el7_5.x86_64 
( 3 ) yum  install  perl 
  yum - the y- install autoconf
  yum  install libaio
5. Installation mysql
$ rpm -ivh MySQL-client-5.6.44-1.el7.x86_64.rpm
$ rpm -ivh MySQL-devel-5.6.44-1.el7.x86_64.rpm
$ rpm -ivh MySQL-embedded-5.6.44-1.el7.x86_64.rpm
$ rpm -ivh MySQL-server-5.6.44-1.el7.x86_64.rpm
Summary question:

1、file /usr/share/mysql/charsets/README from install of MySQL-server-5.6.44-1.el7.x86_64 conflicts with file from package mariadb-libs-1:5.5.56-2.el7.x86_64 

$ yum remove mysql-libs

 

Guess you like

Origin www.cnblogs.com/libaoshan/p/11122238.html