Problems that mariadb cannot find in Centos8/redhat8 by libncurses.so.5
Cause of the problem
Since the libraries of Centos8 are relatively new and the libraries supported by mariadb are older, all of them will be reported to libncurses.so.5 and
Problems that libtinfo.so.5 can't find
You can copy one from the latest version of Centos7 in / usr/lib64.
Specific list file
Libncurses.so.5.9
Libncurses++.so.5.9
Libncurses++w.so.5.9
Libncursesw.so.5.9
Libtinfo.so.5.9
Copy these library files to / usr/lib64 in Centos8
And create a soft connection
Ln-s libncurses.so.5.9 libncurses.so.5
Ln-s libtinfo.so.5.9 libtinfo.so.5
Looking forward to the next version of the solution