I can't install MySQL 8

Issues related to applications and software problems
Windows
Posts: 59
Joined: 2021/06/16 13:20:01

I can't install MySQL 8

Post by Windows » 2022/04/13 17:23:05

hello, I have this:

Code: Select all

[root@localhost ]# cat /etc/centos-release
CentOS Linux release 7.9.2009 (AltArch)
[root@localhost ]#
then I run:

Code: Select all

[root@localhost ]# wget https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm
--2022-04-13 12:12:54--  https://dev.mysql.com/get/mysql80-community-release-el7-5.noarch.rpm
Resolving dev.mysql.com (dev.mysql.com)... 137.254.60.11
Connecting to dev.mysql.com (dev.mysql.com)|137.254.60.11|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://repo.mysql.com//mysql80-community-release-el7-5.noarch.rpm [following]
--2022-04-13 12:12:55--  https://repo.mysql.com//mysql80-community-release-el7-5.noarch.rpm
Resolving repo.mysql.com (repo.mysql.com)... 184.24.36.234
Connecting to repo.mysql.com (repo.mysql.com)|184.24.36.234|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10928 (11K) [application/x-redhat-package-manager]
Saving to: ‘mysql80-community-release-el7-5.noarch.rpm’

100%[=============================================================================================>] 10,928      --.-K/s   in 0.001s

2022-04-13 12:12:57 (15.9 MB/s) - ‘mysql80-community-release-el7-5.noarch.rpm’ saved [10928/10928]
[root@localhost ]#
then I run:

Code: Select all

[root@localhost ]# rpm -Uivh //mysql80-community-release-el7-5.noarch.rpm
warning: //mysql80-community-release-el7-5.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Preparing...                          ################################# [100%]
        package mysql80-community-release-el7-5.noarch is already installed
[root@localhost ]#
then I run:

Code: Select all

[root@localhost ]# yum repolist enabled | grep mysql
http://repo.mysql.com/yum/mysql-connectors-community/el/7/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://repo.mysql.com/yum/mysql-connectors-community/el/7/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://repo.mysql.com/yum/mysql-tools-community/el/7/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://repo.mysql.com/yum/mysql-8.0-community/el/7/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
mysql-connectors-community/armhfp      MySQL Connectors Community             0
mysql-tools-community/armhfp           MySQL Tools Community                  0
mysql80-community/armhfp               MySQL 8.0 Community Server             0
[root@localhost ]#
then with:

Code: Select all

yum install mysql-server
or with:

Code: Select all

yum install mysql-community-server
result is the same:

Code: Select all

[root@localhost 000]# yum install mysql-community-server
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centosz3.centos.org
 * centos-kernel: mirror.s8.centos.org
 * extras: centosc6.centos.org
 * updates: mirror.s8.centos.org
base                                                                                                            | 3.6 kB  00:00:00
centos-kernel                                                                                                   | 2.9 kB  00:00:00
extras                                                                                                          | 2.9 kB  00:00:00
http://repo.mysql.com/yum/mysql-connectors-community/el/7/armhfp/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
when I search in GOOGLE:
https://bugs.mysql.com/bug.php?id=81888
then you can read:
"... I would recommended CentOS forums to get help resolving the issue..."


what I can do ?

Thanks

of course I am newbie

also I have this:

Code: Select all

[root@localhost ]# netstat -tulpn | grep ':80'
tcp6       0      0 :::80                   :::*                    LISTEN      573/httpd
[root@localhost ]# netstat -tulpn | grep ':443'
tcp6       0      0 :::443                  :::*                    LISTEN      573/httpd
[root@localhost ]#

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

Re: I can't install MySQL 8

Post by TrevorH » 2022/04/13 17:59:32

"... I would recommended CentOS forums to get help resolving the issue..."
But...
http://repo.mysql.com/yum/mysql-connect ... repomd.xml: [Errno 14] HTTP Error 404 - Not Found
that looks more like their problem than ours.

Also, I'd really question if they support armhfp. That probably explains the 404's.

CentOS 7 ships mariadb as part of the base/updates repos. This is a fork of mysql from shortly after Oracle bought Sun (who bought mysql). It is to all intents and purposes mysql by another name. You can use that.
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

Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: I can't install MySQL 8

Post by Windows » 2022/04/13 18:04:44

now I try execute:

Code: Select all

yum -y install yum-utils
then I get:

Code: Select all

Cannot retrieve metalink for repository: epel/armhfp. Please verify its path and try again
just your words!! -> armhfp

what I can do ?

I want use PhpMyAdmin...

Then MariaDB maybe not is correct for me...

Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: I can't install MySQL 8

Post by Windows » 2022/04/13 18:11:43

also I have this:

[root@localhost /]# uname -a
Linux localhost.localdomain 5.4.185-v7.1.el7 #1 SMP Wed Mar 30 16:10:28 UTC 2022 armv7l armv7l armv7l GNU/Linux
[root@localhost /]#

some help please?
now I can't install PHP 8.1 ?

yum -y install https://dl.fedoraproject.org/pub/epel/e ... noarch.rpm
yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum -y install yum-utils

in this command FAIL with:

Code: Select all

...
...
... Cannot retrieve metalink for repository: epel/armhfp. Please verify its path and try again
what I can do ?

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

Re: I can't install MySQL 8

Post by TrevorH » 2022/04/13 18:14:25

Cannot retrieve metalink for repository: epel/armhfp. Please verify its path and try again
That's a the same error on a different repo. And again, EPEL itself does not support arhfp though there is or was a CentOS rebuild of a lot of EPEL packages for armhfp though I suspect that many of those are now out of date and may have security vulnerabilities.

Start by removing the mysql-community repo that you added. I really doubt if they have an armhfp build. You will just get errors on the repo because it doesn't exist.
I want use PhpMyAdmin...

Then MariaDB maybe not is correct for me...
mariadb is a fork of mysql and works in exactly the same way as mysql does. To all intents and purposes it _is_ mysql.
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

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

Re: I can't install MySQL 8

Post by TrevorH » 2022/04/13 18:18:26

now I can't install PHP 8.1 ?
You are running CentOS 7 which is a distro that dates from 2014. If you expect it to have the latest and greatest of everything then you are going to be disappointed. Especially since you are running the armhfp build which has about six users in total (no idea of the real number but it's tiny in comparson to the millions that run x86_64.

I'd look for a different distro if I were you. Debian are good at supporting 32 bit arm. I believe that Rocky do an armhfp rebuild of RHEL 8 but you will still run into the lack of support from EPEL and mysql-community for that.
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

Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: I can't install MySQL 8

Post by Windows » 2022/04/13 18:34:51

thanks,

now ALL is clear for me: my problem is OLD OS, I get this:

Code: Select all

[root@localhost /]# uname -m
armv7l
[root@localhost /]#
how I can install CentOs 64 bits ?

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

Re: I can't install MySQL 8

Post by TrevorH » 2022/04/13 18:48:15

how I can install CentOs 64 bits ?
You would have to start by changing hardware - armv7l is 32 bit hardware.
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

Windows
Posts: 59
Joined: 2021/06/16 13:20:01

Re: I can't install MySQL 8

Post by Windows » 2022/04/13 18:55:00

TrevorH wrote:
2022/04/13 18:48:15
You would have to start by changing hardware - armv7l is 32 bit hardware.
ah!, my problem NOT IS Operating System, my problem is HW:

Code: Select all

[root@localhost /]# lscpu
Architecture:          armv7l
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
Model:                 4
Model name:            ARMv7 Processor rev 4 (v7l)
CPU max MHz:           1400.0000
CPU min MHz:           600.0000
BogoMIPS:              38.40
Flags:                 half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
[root@localhost /]#
true?

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

Re: I can't install MySQL 8

Post by TrevorH » 2022/04/13 19:04:42

You can still get recent distro's that run on armv7l. But CentOS has never officially supported armhfp and EPEL has never supported it at all. There were builds of armhfp for CentOS 7 but 8 never made it out of the door as Red Hat shuttered the project before that could happen.

However CentOS 7 is old - it initially came out in 2014 and is supported for 10 years so will go EOL in 2024. There is still lots of support for CentOS 7 on 64 bit Intel compatible processors, for other architectures like arm, not so much.

I just looked at Rocky Linux and it looks like their support for arm requires 64 bit arm hardware so that probably isn't for you either. Even Fedora seems to have deprecated support for armhfp so that's not a choice either.

I'd look at Debian. It's what I run on my Odroid HC1.
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