- 博客(9)
- 收藏
- 关注
原创 redis set err=NOAUTH Authentication required.NOAUTH Authentication required.
原因:未使用密码进行连接验证。此博客仅说明在配置文件中如何在Redis相关url中插入密码。
2022-06-20 09:42:06
226
转载 用git将本地项目上传到Github新建的仓库
本来一路顺利,可是到上传时却失败了。报的这个错,东翻西找终于在博客发现问题所在。$ git push -u origin masterTotal 0 (delta 0), reused 0 (delta 0), pack-reused 0remote:remote: Create a pull request for 'master' on GitHub by visiting:remote: https://github.com/RobotBoy0706/go_code/pull/
2022-03-28 14:34:37
525
转载 VSCode里面爆红或者警告cannot find package “github.com/gin-gonic/gin“ in any of:
在Golang项目引包部分 "github.com/gin-gonic/gin" "github.com/gin-gonic/gin/binding" _ "github.com/globalsign/mgo/bson"出现爆红或者警告,然后在go.build环节失败 cannot find package "github.com/gin-gonic/gin" in any of: C:\Work\go\src\github.com\gin-gonic\gin (f
2022-03-23 14:39:04
3729
1
原创 Linux下安装MySQL5.7的失败总结
博主是新手,已经被MySQL5.7折磨得快不成人形了,安装前切记将MySQL删除干净!楔子:Linux下彻底删除mysql> rpm -qa | grep mysql #查看当前安装的MySQL> rpm -e --nodeps mysql #强力删除模式,能删除掉相关依赖。msyql为参数> find / -name mysql #查找出所有的mysql文件夹> rm -rf mysql #将查出的MySQL文件夹全部删掉>
2022-03-17 16:06:55
4579
2
原创 Linux下连接mongoDB出现no reachable servers以及mongoDB创建用户
第一步:进入mongoDB安装目录的bin下,在这里启动mongoDB shell。cd /usr/local/mongodb/bin # 这是我的安装地址,仅供参考$ ./mongo第二步:创建管理员用户> show dbs #展示所有数据库>use admin #切换到管理表>db.users.insert({'username':'admin','password':'admin',roles:'readWriteAnyDatabase'
2022-03-15 15:52:05
4552
转载 db failed: Error 1130: Host ‘42.193.160.190‘ is not allowed to connect to this MySQL server
方法一:在MySQL系统中修改表数据1、使用mysql -uroot -p指令输入密码后登录MySQL系统2、mysql> use mysql;mysql> update user set password=password("新密码") where user='root';mysql> flush privileges; #刷新表数据mysql> exit;3、使用刚才更改的密码进行登录。...
2022-03-10 14:52:07
436
原创 libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
除了标题的这个问题,在Linux上安装MongoDB上还很有可能遇见yum下载提示 liblzma.so.0: cannot open shared object file: No such file or directory这些类似问题。本质上因为阿里云的源不再提供这些共享库的下载。解决方案:一、在其他有该共享库的服务器发送过来或者直接去网站下载。二、如果是菜鸟教程之类走的流程,大概率就是版本原因,只需要在使用yum下载时,自己前往官网上找到最新或者稳定版的链接。...
2022-03-10 11:14:02
3693
转载 gzip: stdin: not in gzip formattar: Child returned status 1tar: Error is not recoverable: exiting
Linux解压文件报错
2022-03-08 16:33:59
37678
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人