MySQL baseurl broken?

General support questions
Post Reply
ivanwolf1995
Posts: 1
Joined: 2019/01/15 13:07:37

MySQL baseurl broken?

Post by ivanwolf1995 » 2019/01/15 13:19:41

Hello all, newbie here I am having lots of trouble trying to install MySQL on Centos7 and have spend lots of time on it, but still stuck.

I am currently following this tutorial.
https://www.rosehosting.com/blog/how-to ... -centos-7/

Commands used, step by step:
wget https://dev.mysql.com/get/mysql80-commu ... noarch.rpm
sudo rpm -Uvh mysql80-community-release-el7-1.noarch.rpm
sudo yum install mysql-community-server <- this is where I am stuck.

Error when running, sudo yum install mysql-community-server.
error.png
error.png (82.11 KiB) Viewed 680 times
I have tried navigating to http://repo.mysql.com/yum/mysql-connect ... repomd.xml and found out that i doesn't exist.

I tried checking the /etc/yum.repos.d/mysql-community.repo
error1PNG.PNG
error1PNG.PNG (27.36 KiB) Viewed 680 times
What i have found out:
I have found out that http://repo.mysql.com/yum/mysql-connect ... nity/el/7/ with out the "$basearch" is a working link and it does link me to a server with files. I was thinking on changing the baseurl but have yet to try it as i dont know which is which and which files are they suppose to download.

Please help, banging my head on the wall.

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

Re: MySQL baseurl broken?

Post by TrevorH » 2019/01/15 15:19:38

We do not ship or support mysql. What we ship as part of the distro is the fork of mysql called mariadb. That fork is by the original mysql authors who forked it after Oracle bought Sun (who in turn had bought mysql).

The correct way to get the equivalent of mysql server installed on CentOS 7 is to undo all that stuff with mysql-community and just run yum install mariadb-server
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