error while installing mysql on centos 7

Issues related to applications and software problems
Post Reply
ahmadabd
Posts: 1
Joined: 2018/06/11 15:56:30

error while installing mysql on centos 7

Post by ahmadabd » 2018/06/11 16:03:00

Im going to install mysql-server on centos 7 by this commands :

Code: Select all

wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

Code: Select all

sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm

Code: Select all

yum update

Code: Select all

sudo yum install mysql-server
But it errors after executing this command:

Code: Select all

sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
Errors :

error: mysql-community-release-el7-5.noarch.rpm: not an rpm package (or package manifest):

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: error while installing mysql on centos 7

Post by TrevorH » 2018/06/11 16:10:59

Why are you doing that anyway? We do not ship or support mysql. In common with most other linux distros, CentOS ships the fork of mysql called mariadb. Those packages are already in the repos and ready to install.

yum install mariadb-server

Done.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply