当前位置:Gxlcms > 数据库问题 > SuSE11单实例二进制安装MySQL5.7

SuSE11单实例二进制安装MySQL5.7

时间:2021-07-01 10:21:17 帮助过:29人阅读

ncurses-devel-5.6-90.55.x86_64.rpm 

 

root@ktppd01:~#rpm -qa tack-5.6-90.55
root@ktppd01:~#rpm -qa tack*
tack-5.6-90.55
root@ktppd01:~#rpm -qa ncurses-devel*
ncurses-devel-5.6-90.55
ncurses-devel-32bit-5.6-90.55

root@ktppd01:~#ln -s /usr/lib64/libncurses.so /usr/lib64/libtinfo.so.5

注:如果上面连接文件没有创建,则客户端连接MYSQL服务的时候会报如下异常信息:

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


root@ktppd01:~#mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.29 MySQL Community Server (GPL)

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;‘ or ‘\h‘ for help. Type ‘\c‘ to clear the current input statement.

mysql> show database
-> ;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘database‘ at line 1
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
+--------------------+
4 rows in set (0.00 sec)

mysql>
mysql>
mysql>

SuSE11单实例二进制安装MySQL5.7

标签:rac   ann   sql   没有   server   while   socket   multi   x86_64   

人气教程排行