[Solved] MYSQL Error: error while loading shared libraries: libtinfo.so.5


After installing mysql in Centos8, getting a temporary password to log in to mysql is reported as an error.

mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

Solution:

sudo ln -s /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5

Read More: