linux中mysql如何远程连接
两个步骤:
第一:让root允许远程登录
update user set host = % where user = root;第二:给予root用户最大数据库权限
grant all privileges on *.* to root@% identified by 123456;
flush privileges;实操:
[root@bogon ~]# mysql -uroot -p1234…
mysql库缺失libncurses.so.5和libtinfo.so.5
报错信息:
mysql: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory;mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared obj…