[root@CentOS7 ushastry]# yum repolist enabled | grep mysql mysql-connectors-community/x86_64 MySQL Connectors Community 45 mysql-tools-community/x86_64 MySQL Tools Community 57 mysql55-community/x86_64 MySQL 5.5 Community Server 376 [root@CentOS7 ushastry]# [root@CentOS7 ushastry]# yum clean all Loaded plugins: fastestmirror, langpacks Cleaning repos: base centos-sclo-rh extras mysql-connectors-community mysql-tools-community mysql55-community updates Cleaning up everything Maybe you want: rm -rf /var/cache/yum, to also free up space taken by orphaned data from disabled or removed repos Cleaning up list of fastest mirrors [root@CentOS7 ushastry]# [root@CentOS7 ushastry]# yum install mysql-community-server Loaded plugins: fastestmirror, langpacks base | 3.6 kB 00:00:00 centos-sclo-rh | 2.9 kB 00:00:00 extras | 3.4 kB 00:00:00 mysql-connectors-community | 2.5 kB 00:00:00 mysql-tools-community | 2.5 kB 00:00:00 mysql55-community | 2.5 kB 00:00:00 updates | 3.4 kB 00:00:00 (1/8): mysql-connectors-community/x86_64/primary_db | 18 kB 00:00:07 (2/8): mysql-tools-community/x86_64/primary_db | 38 kB 00:00:00 (3/8): base/7/x86_64/group_gz | 156 kB 00:00:14 (4/8): mysql55-community/x86_64/primary_db | 169 kB 00:00:06 (5/8): extras/7/x86_64/primary_db | 166 kB 00:00:14 (6/8): centos-sclo-rh/x86_64/primary_db | 3.0 MB 00:00:24 (7/8): base/7/x86_64/primary_db | 5.7 MB 00:00:34 (8/8): updates/7/x86_64/primary_db | 6.0 MB 00:00:28 Determining fastest mirrors * base: mirror.cs.vt.edu * extras: centos.mirror.constant.com * updates: mirror.atlanticmetro.net Resolving Dependencies --> Running transaction check ---> Package mysql-community-server.x86_64 0:5.5.59-2.el7 will be installed --> Processing Dependency: mysql-community-common(x86-64) = 5.5.59-2.el7 for package: mysql-community-server-5.5.59-2.el7.x86_64 --> Processing Dependency: mysql-community-client(x86-64) >= 5.5.8 for package: mysql-community-server-5.5.59-2.el7.x86_64 --> Processing Dependency: perl(DBI) for package: mysql-community-server-5.5.59-2.el7.x86_64 --> Running transaction check ---> Package mysql-community-client.x86_64 0:5.5.59-2.el7 will be installed --> Processing Dependency: mysql-community-libs(x86-64) >= 5.5.8 for package: mysql-community-client-5.5.59-2.el7.x86_64 ---> Package mysql-community-common.x86_64 0:5.5.59-2.el7 will be installed ---> Package perl-DBI.x86_64 0:1.627-4.el7 will be installed --> Processing Dependency: perl(RPC::PlServer) >= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64 --> Processing Dependency: perl(RPC::PlClient) >= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64 --> Running transaction check ---> Package mysql-community-libs.x86_64 0:5.5.59-2.el7 will be installed ---> Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed --> Processing Dependency: perl(Net::Daemon) >= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch --> Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch --> Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch --> Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch --> Running transaction check ---> Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed --> Processing Dependency: perl(Compress::Raw::Zlib) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch --> Processing Dependency: perl(Compress::Raw::Bzip2) >= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch ---> Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed --> Running transaction check ---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed ---> Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Installing: mysql-community-server x86_64 5.5.59-2.el7 mysql55-community 45 M Installing for dependencies: mysql-community-client x86_64 5.5.59-2.el7 mysql55-community 16 M mysql-community-common x86_64 5.5.59-2.el7 mysql55-community 235 k mysql-community-libs x86_64 5.5.59-2.el7 mysql55-community 1.8 M perl-Compress-Raw-Bzip2 x86_64 2.061-3.el7 base 32 k perl-Compress-Raw-Zlib x86_64 1:2.061-4.el7 base 57 k perl-DBI x86_64 1.627-4.el7 base 802 k perl-IO-Compress noarch 2.061-2.el7 base 260 k perl-Net-Daemon noarch 0.48-5.el7 base 51 k perl-PlRPC noarch 0.2020-14.el7 base 36 k Transaction Summary =================================================================================================================================================================================================================== Install 1 Package (+9 Dependent packages) Total download size: 64 M Installed size: 272 M Is this ok [y/d/N]: y Downloading packages: (1/10): mysql-community-common-5.5.59-2.el7.x86_64.rpm | 235 kB 00:00:08 (2/10): mysql-community-libs-5.5.59-2.el7.x86_64.rpm | 1.8 MB 00:00:07 (3/10): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm | 32 kB 00:00:06 (4/10): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm | 57 kB 00:00:07 (5/10): perl-Net-Daemon-0.48-5.el7.noarch.rpm | 51 kB 00:00:00 (6/10): perl-PlRPC-0.2020-14.el7.noarch.rpm | 36 kB 00:00:00 (7/10): perl-IO-Compress-2.061-2.el7.noarch.rpm | 260 kB 00:00:03 (8/10): perl-DBI-1.627-4.el7.x86_64.rpm | 802 kB 00:00:12 (9/10): mysql-community-client-5.5.59-2.el7.x86_64.rpm | 16 MB 00:01:02 (10/10): mysql-community-server-5.5.59-2.el7.x86_64.rpm | 45 MB 00:02:44 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 366 kB/s | 64 MB 00:02:59 Running transaction check Running transaction test Transaction test succeeded Running transaction Warning: RPMDB altered outside of yum. ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows: 2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18()(64bit) 2:postfix-2.10.1-6.el7.x86_64 has missing requires of libmysqlclient.so.18(libmysqlclient_18)(64bit) Installing : mysql-community-common-5.5.59-2.el7.x86_64 1/10 Installing : mysql-community-libs-5.5.59-2.el7.x86_64 2/10 Installing : mysql-community-client-5.5.59-2.el7.x86_64 3/10 Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 4/10 Installing : perl-Net-Daemon-0.48-5.el7.noarch 5/10 Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 6/10 Installing : perl-IO-Compress-2.061-2.el7.noarch 7/10 Installing : perl-PlRPC-0.2020-14.el7.noarch 8/10 Installing : perl-DBI-1.627-4.el7.x86_64 9/10 Installing : mysql-community-server-5.5.59-2.el7.x86_64 10/10 Verifying : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64 1/10 Verifying : perl-Net-Daemon-0.48-5.el7.noarch 2/10 Verifying : perl-PlRPC-0.2020-14.el7.noarch 3/10 Verifying : mysql-community-common-5.5.59-2.el7.x86_64 4/10 Verifying : mysql-community-libs-5.5.59-2.el7.x86_64 5/10 Verifying : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64 6/10 Verifying : mysql-community-client-5.5.59-2.el7.x86_64 7/10 Verifying : perl-IO-Compress-2.061-2.el7.noarch 8/10 Verifying : perl-DBI-1.627-4.el7.x86_64 9/10 Verifying : mysql-community-server-5.5.59-2.el7.x86_64 10/10 Installed: mysql-community-server.x86_64 0:5.5.59-2.el7 Dependency Installed: mysql-community-client.x86_64 0:5.5.59-2.el7 mysql-community-common.x86_64 0:5.5.59-2.el7 mysql-community-libs.x86_64 0:5.5.59-2.el7 perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 perl-DBI.x86_64 0:1.627-4.el7 perl-IO-Compress.noarch 0:2.061-2.el7 perl-Net-Daemon.noarch 0:0.48-5.el7 perl-PlRPC.noarch 0:0.2020-14.el7 Complete! -- start mysqld [root@CentOS7 ushastry]# systemctl start mysqld [root@CentOS7 ushastry]# systemctl status mysqld ● mysqld.service - MySQL Community Server Loaded: loaded (/usr/lib/systemd/system/mysqld.service; disabled; vendor preset: disabled) Active: active (running) since Tue 2018-02-20 05:28:31 EST; 3min 3s ago Process: 22054 ExecStartPost=/usr/bin/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 21992 ExecStartPre=/usr/bin/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 22053 (mysqld_safe) CGroup: /system.slice/mysqld.service ├─22053 /bin/sh /usr/bin/mysqld_safe --basedir=/usr └─22216 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/m... Feb 20 05:28:27 CentOS7 mysql-systemd-start[21992]: Alternatively you can run: Feb 20 05:28:27 CentOS7 mysql-systemd-start[21992]: /usr/bin/mysql_secure_installation Feb 20 05:28:27 CentOS7 mysql-systemd-start[21992]: which will also give you the option of removing the test Feb 20 05:28:27 CentOS7 mysql-systemd-start[21992]: databases and anonymous user created by default. This is Feb 20 05:28:27 CentOS7 mysql-systemd-start[21992]: strongly recommended for production servers. Feb 20 05:28:27 CentOS7 mysql-systemd-start[21992]: See the manual for more instructions. Feb 20 05:28:27 CentOS7 mysql-systemd-start[21992]: Please report any problems at http://bugs.mysql.com/ Feb 20 05:28:29 CentOS7 mysqld_safe[22053]: 180220 05:28:29 mysqld_safe Logging to '/var/log/mysqld.log'. Feb 20 05:28:29 CentOS7 mysqld_safe[22053]: 180220 05:28:29 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql Feb 20 05:28:31 CentOS7 systemd[1]: Started MySQL Community Server. [root@CentOS7 ushastry]# [root@CentOS7 ushastry]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.5.59 MySQL Community Server (GPL) Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql>