mysql install in centos 8

Issues related to applications and software problems and general support
Post Reply
Atech
Posts: 1
Joined: 2020/03/04 04:11:22

mysql install in centos 8

Post by Atech » 2020/03/04 04:17:04

Tring to instal mysql version 5.6.13 on centos 8 using class binaries. i cannot connect to the server , showing some errors like
bin/mysql -u root -p
bin/mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory

can anyone pls help..

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

Re: mysql install in centos 8

Post by TrevorH » 2020/03/04 07:31:39

Your copy of mysql was either not built for CentOS or you don't have the right pre-reqs installed. In this case you can run dnf provides '*/libncurses.so.5' to find out which package is missing but... this indicates that you didn't install this from a package or it would have pulled this in automatically. And also, we already ship mysql as part of CentOS 8 - it is a module so you need to dnf module enable mysql then you can dnf install 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

Post Reply