linux
左眼826
这个作者很懒,什么都没留下…
展开
-
Navicat链接docker中的mysql连接不上,并报错1130-host‘192.168.81.1‘is not allowed to connect to this mysql serve
一般出现这种问题是因为数据库只支持本地连接,所以远程连接会出现错误,我们只需要修改一下数据库的权限即可。执行以下命令:查看docker中容器的信息如果执行docker ps命令没有出现想要的容器的信息,在这里是没出现mysql的信息,那是因为你的容器没有运行,那么执行会出现所有的容器的信息。执行以下命令mysql8是上步命令查询出来的mysql的名称。执行以下命令,然后输入你的mysql的密码。之后就进入了mysql中,可以运行mysql的命令。运行命令:这样就修改了mysql的权限。原创 2022-06-22 22:18:17 · 2139 阅读 · 5 评论 -
Redis Desktop Manager连接linux中的Redis时连接失败
redis desktop manager原创 2022-06-19 18:25:45 · 755 阅读 · 0 评论 -
centos7中安装redis报错
项目场景:在做项目时需要在centos7中安装redis,但是执行make && make test && make install之后出现错误。In file included from adlist.c:34:zmalloc.h:50:10: fatal error: jemalloc/jemalloc.h: No such file or directory 50 | #include <jemalloc/jemalloc.h> |原创 2022-05-30 14:24:26 · 990 阅读 · 2 评论 -
使用远程工具SSH Secure连接ubuntu时遇到问题“ server responded “algorithm negotiation failed”“解决办法!
我使用的是ubuntu server 20,在使用远程连接工具SSH Secure连接ubuntu时报出错误“server responded "algorithm negotiation failed”,在网上搜了这个问题,发现解决方式都是输入命令sudo vim /etc/ssh/sshd_config在这个文件末尾添加Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfo原创 2020-09-20 12:01:37 · 643 阅读 · 1 评论