错题集
尘埃落定2000
这个作者很懒,什么都没留下…
展开
-
Redhat 7 scp test1.txt [email protected]:/root 失败Permission denied
Redhat 7 scp test1.txt [email protected]:/root失败 Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)练习中乱设置很多,忘了动了哪些了,只能一步一步尝试解决!!1)#systemctl status sshd状态是 active(running...原创 2019-04-22 23:41:46 · 965 阅读 · 0 评论 -
mariaDB安装后没法使用
起因是为了安装Cacti 监控软件!!MariaDB 安装#yum -y install httpd php php-mysql php-ldap php-xml mysql mysql-server net-snmp net-snmp-utils lm_sensors设置数据库登录密码 #mysqladmin -hlocalhost -uroot password ...原创 2019-04-23 13:54:33 · 1164 阅读 · 0 评论 -
问题解答1:ERROR 1682 (HY000): Native table 'performance_schema'.'session_variables' has the wrong struct
数据库MySQL在MySQL5.7.6版本之后,导入的文件只能在secure_file_priv 指定的文件夹下。执行 mysql> show variables like ‘%secure%’;ERROR 1682 (HY000): Native table ‘performance_schema’.‘session_variables’ has the wrong structu...原创 2019-05-05 16:48:24 · 2992 阅读 · 0 评论 -
Maxscale启动过程出现 cannot be run as root.
Maxscale启动过程出现的问题?1、# maxscale -f /etc/maxscale.cnfError: MaxScale cannot be run as root.Failed to write child process message!解决办法:# maxscale -f /etc/maxscale.cnf -U maxscale 指定启动的用户只要...原创 2019-05-08 11:59:22 · 4171 阅读 · 0 评论 -
MySQL 问题2:常见问题 5.7版本以上
mysql> select * from stu_info group by age;ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘userdb.stu_info.name’ which is not func...原创 2019-05-05 19:38:27 · 978 阅读 · 0 评论 -
/tmp/mysql.sock 找不到以及/var/lib/mysql/mysql.sock 找不到解决方法
在做MySQL多实例的实验中遇到的问题?浏览了很多博客,知道原因是出在:服务找不到mysql.sock文件,但是具体怎么解决也是在摸索中!!若有良策期待留言!(连接localhost通常通过一个Unix域套接字文件进行,一般是/tmp/mysql.sock。如果套接字文件被删除了,本地客户就不能连接。不知道什么情况下删除了该文件!)使用的软件版本是:mysql-5.7.25-linux-gl...原创 2019-05-08 16:24:05 · 5023 阅读 · 0 评论