1.登录时报:mysql8 error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory
解决方法:
sudo ln -s /usr/lib64/libtinfo.so.6.1 /usr/lib64/libtinfo.so.5 //将/usr/lib64/libtinfo.so.6.1软连接到/usr/lib64/libtinfo.so.5
2.使用show命令时报错:show: command not found
解决方法:
alias mysql=/安装目录/mysql/bin/mysqlshow //通过alias设置别名