解决二进制安装mysql数据库时,在启动数据库时报错
error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
报错信息:如下
[root@yxt ~]# mysql -uroot -p
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
解决办法:
[root@root ~]# yum -y install libncurses.so.5
[root@root ~]# yum -y install ncurses-compat-libs
[root@root ~]# mysql -uroot -p
Enter password:
版权声明:本文为weixin_52813907原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。