Error installing MySQL 8 on RHEL 7


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Error installing MySQL 8 on RHEL 7
# 1  
Old 08-19-2019
Error installing MySQL 8 on RHEL 7

My yum install command is failing. I first did yum clean all

I even tried with localinstall.

Below is the error output:

Code:
yum install mysql-community-server*.rpm

Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Repository 'SDCSS-Updates': Error parsing config: Error parsing "baseurl = '100^?.9.9.68'": URL must be http, ftp, file or https not ""

Marking mysql-community-server-8.0.17-1.el8.x86_64.rpm to be installed
Examining mysql-community-server-debug-8.0.17-1.el8.x86_64.rpm: mysql-community-server-debug-8.0.17-1.el8.x86_64
Marking mysql-community-server-debug-8.0.17-1.el8.x86_64.rpm to be installed
Examining mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64.rpm: mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64
Marking mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64.rpm to be installed
Examining mysql-community-server-debuginfo-8.0.17-1.el8.x86_64.rpm: mysql-community-server-debuginfo-8.0.17-1.el8.x86_64
Marking mysql-community-server-debuginfo-8.0.17-1.el8.x86_64.rpm to be installed
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction, or "yum-complete-transaction --cleanup-only" and "yum history redo last", first to finish them. If those don't work you'll have to try removing/installing packages by hand (maybe package-cleanup can help).
--> Running transaction check
---> Package mariadb-server.x86_64 1:5.5.60-1.el7_5 will be obsoleted
--> Processing Dependency: mariadb-server for package: akonadi-mysql-1.9.2-4.el7.x86_64
---> Package mysql-community-server.x86_64 0:8.0.17-1.el8 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 8.0.17-1.el8 for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: mysql-community-client(x86-64) >= 8.0.11 for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.11)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3(TIRPC_0.3.0)(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3()(64bit) for package: mysql-community-server-8.0.17-1.el8.x86_64
---> Package mysql-community-server-debug.x86_64 0:8.0.17-1.el8 will be installed
--> Processing Dependency: libc.so.6(GLIBC_2.28)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_0d)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1(OPENSSL_1_1_1)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.11)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.8)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(CXXABI_1.3.9)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.20)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.21)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libstdc++.so.6(GLIBCXX_3.4.22)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3(TIRPC_0.3.0)(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libcrypto.so.1.1()(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libssl.so.1.1()(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
--> Processing Dependency: libtirpc.so.3()(64bit) for package: mysql-community-server-debug-8.0.17-1.el8.x86_64
---> Package mysql-community-server-debug-debuginfo.x86_64 0:8.0.17-1.el8 will be installed
--> Processing Dependency: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8 for package: mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64
---> Package mysql-community-server-debuginfo.x86_64 0:8.0.17-1.el8 will be installed
--> Processing Dependency: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8 for package: mysql-community-server-debuginfo-8.0.17-1.el8.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_1)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1()(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1()(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64)
           Requires: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_1)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
Error: Package: mysql-community-server-debuginfo-8.0.17-1.el8.x86_64 (/mysql-community-server-debuginfo-8.0.17-1.el8.x86_64)
           Requires: mysql-community-debuginfo(x86-64) = 8.0.17-1.el8
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3(TIRPC_0.3.0)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1()(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libc.so.6(GLIBC_2.28)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.9)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3()(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3(TIRPC_0.3.0)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libcrypto.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.11)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.21)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1()(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libtirpc.so.3()(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.20)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.11)(64bit)
Error: Package: akonadi-mysql-1.9.2-4.el7.x86_64 (@anaconda/7.3)
           Requires: mariadb-server
           Removing: 1:mariadb-server-5.5.60-1.el7_5.x86_64 (@rhel-7-latest)
               mariadb-server = 1:5.5.60-1.el7_5
           Obsoleted By: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
               Not found
           Available: 1:mariadb-server-5.5.35-3.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.35-3.el7
           Available: 1:mariadb-server-5.5.37-1.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.37-1.el7_0
           Available: 1:mariadb-server-5.5.40-1.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.40-1.el7_0
           Available: 1:mariadb-server-5.5.40-2.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.40-2.el7_0
           Available: 1:mariadb-server-5.5.41-2.el7_0.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.41-2.el7_0
           Available: 1:mariadb-server-5.5.44-1.el7_1.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.44-1.el7_1
           Available: 1:mariadb-server-5.5.44-2.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.44-2.el7
           Available: 1:mariadb-server-5.5.47-1.el7_2.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.47-1.el7_2
           Available: 1:mariadb-server-5.5.50-1.el7_2.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.50-1.el7_2
           Available: 1:mariadb-server-5.5.52-1.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.52-1.el7
           Available: 1:mariadb-server-5.5.56-2.el7.x86_64 (rhel-7-latest)
               mariadb-server = 1:5.5.56-2.el7
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: mysql-community-common(x86-64) = 8.0.17-1.el8
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_0)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libssl.so.1.1(OPENSSL_1_1_0d)(64bit)
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
           Requires: mysql-community-client(x86-64) >= 8.0.11
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(GLIBCXX_3.4.22)(64bit)
Error: Package: mysql-community-server-debug-8.0.17-1.el8.x86_64 (/mysql-community-server-debug-8.0.17-1.el8.x86_64)
           Requires: libstdc++.so.6(CXXABI_1.3.8)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

# ls -ltr mysql-community-server*.rpm
-rw-r--r-- 1 user1 user1  52800696 Jun 27 16:20 mysql-community-server-8.0.17-1.el8.x86_64.rpm
-rw-r--r-- 1 user1 user1  20314620 Jun 27 16:20 mysql-community-server-debug-8.0.17-1.el8.x86_64.rpm
-rw-r--r-- 1 user1 user1  89433280 Jun 27 16:20 mysql-community-server-debug-debuginfo-8.0.17-1.el8.x86_64.rpm
-rw-r--r-- 1 user1 user1 174347328 Jun 27 16:20 mysql-community-server-debuginfo-8.0.17-1.el8.x86_64.rpm

# uname -a
Linux myhost 3.10.0-957.12.1.el7.x86_64 #1 SMP Wed Mar 20 11:34:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)
# cat /etc/system-release
Red Hat Enterprise Linux Server release 7.6 (Maipo)

Can you please suggest ?
# 2  
Old 08-19-2019
Is not the error obvious, in these lines from your post?

Quote:
This system is not registered with an entitlement server. You can use subscription-manager to register.
Quote:
Repository 'SDCSS-Updates': Error parsing config: Error parsing "baseurl = '100^?.9.9.68'": URL must be http, ftp, file or https not ""
# 3  
Old 08-19-2019
I'm not sure if dependency errors like:
Quote:
Error: Package: mysql-community-server-8.0.17-1.el8.x86_64 (/mysql-community-server-8.0.17-1.el8.x86_64)
Requires: libstdc++.so.6(CXXABI_1.3.11)(64bit)
are related to the registration with an entitlement server problem.

I will try to fix the entitlement error to see if it help resolve the dependency errors. By the way my server is offline & does not have connectivity to the internet and thats inline with my organisation policy.
# 4  
Old 08-19-2019
I guess I am confused.

You have a company policy that says you can't download software from the internet.

You are using a server that is not connected to the internet.

Why are you surprised that yum is unable to download updates from an external source that is not accessible to your server?

Why are you trying to use yum to download software from the internet when your company policy says that you are not supposed to do that?
This User Gave Thanks to Don Cragun For This Post:
# 5  
Old 08-20-2019
Quote:
Originally Posted by Don Cragun
I guess I am confused.

You have a company policy that says you can't download software from the internet.

You are using a server that is not connected to the internet.

Why are you surprised that yum is unable to download updates from an external source that is not accessible to your server?

Why are you trying to use yum to download software from the internet when your company policy says that you are not supposed to do that?
I must have stated that I use localinstall with yum. So we download the rpm and dependencies and copy them to the server and install locally using yum localinstall. I however, still get the same error. I'm not a system admin but more so an application developer who is trying to get his needed softwares (mysql in this case) installed and working on the system. Meanwhile, i continue to troubleshoot the error.
# 6  
Old 08-20-2019
You can stop using yum if you are having problems and download the source, move the source to your target and build it.

Code:
https://dev.mysql.com/downloads/mysql/8.0.html

If you cannot get yum to work, then try another method.

This is how sys admins work Smilie
# 7  
Old 08-20-2019
I had already downloaded the source (rpms) to the target and was building it using yum localistall.

I will now try using rpm installer.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installing tmux on RHEL 6.5

Hi, I am trying to install tmux on vm allocated to me in my company . i am very new to linux. I have the root access on it. Can someone please provide the exact steps to get it installed. I tried: 1. Using yum, i get the below message. # yum install tmux Loaded plugins: security... (6 Replies)
Discussion started by: kunwar
6 Replies

2. Red Hat

Installing xwindow on RHEL (offline)

I need to install xwindow on my RHEL 7.2 server which is behind a firewall and no access to internet. If I run the below code, it will not able to install, as my server dont have internet connection. yum -y install xterm* xorg* xclock xauth Do you know, where can I get the required binaries... (2 Replies)
Discussion started by: karumudi7
2 Replies

3. UNIX and Linux Applications

MySQL client on RHEL

I have a statistical application running on RHEL 6.2. One of the data source is a MySQL 5.1 DB running on a WIN platform. I need to make ODBC or MySQL connection to retrieve data. What I did: I have checked yum and selected the appropriate unixOdbc and installed w/o problem. downloaded... (0 Replies)
Discussion started by: rsheikh01
0 Replies

4. Red Hat

Installing RHEL over Windows 7 or 8

Hi, Sorry if this is an incorrect place for this question but I haven't been able to find any answers by searching the forums or on google. I am in the market for a new HP Z420 workstation and HP wants a lot more money for one with the HP Linux Installer kit vs. the exact same configuration in... (2 Replies)
Discussion started by: rhopson
2 Replies

5. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

6. Shell Programming and Scripting

Error in installing mysql on unix server

Hi , I am trying to install mysql but getting below error $# mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) can anyone provide me this file 'mysql.sock' Thanks (6 Replies)
Discussion started by: aish11
6 Replies

7. Solaris

Error in installing the mysql-python-1.2.3.tar.gz

Hi, I followed the step written in README. It got some error message when I type " #python setup.py build" running build running build_py copying MySQLdb/release.py -> build/lib.solaris-2.11-i86pc-2.4/MySQLdb running build_ext building '_mysql' extension /usr/lib/python2.4/pycc -DNDEBUG... (2 Replies)
Discussion started by: AlexCheung
2 Replies

8. Red Hat

problem installing rhel 6

I have dexx xps 14.I was installing rhel6.But the installation hanged at following step initializing hardware detection................. installion didnt go further (2 Replies)
Discussion started by: shamapraveen
2 Replies

9. UNIX for Advanced & Expert Users

Error during installing DBD-mysql-4.005

Hi, Iam not able to install DBD-mysql-4.005 into my Sun machine as the error comes - perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config I will use the following settings for compiling and testing: cflags (mysql_config ) = -I/usr/local/mysql/include/mysql ... (2 Replies)
Discussion started by: aditya.ece1985
2 Replies

10. UNIX and Linux Applications

help: error in installing perl module DBD::mysql

Hi, I am trying to install perl module DBD::mysql and don't know how to resolve the following: # make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00base.............ok 3/5install_driver(mysql) failed: Can't load... (3 Replies)
Discussion started by: Yogesh Sawant
3 Replies
Login or Register to Ask a Question