![](https://img-blog.csdnimg.cn/20190901180405872.jpg?x-oss-process=image/resize,m_fixed,h_224,w_224)
数据库
攻城师论坛
这个作者很懒,什么都没留下…
展开
-
windows 下Redis的安装和配置,以及Redis可视化工具的安装RedisDesktopManager
一 安装Redis下载地址https://github.com/microsoftarchive/redis/releases1.点击下载msi版本2.现在完成后双击进行安装,点击下一步进行安装3.同意后下一步进行安装4.选择安装路径并将路径添加到环境变量中5.redis默认端口63796.设置redis存储量的大小,根据自己情况设置...原创 2019-05-18 22:33:46 · 583 阅读 · 0 评论 -
Redis 配置密码认证 及redis服务端的启动和redis客户端的启动
上图所示,没有输入密码也能够连接上redis服务端,说明服务器端没有配置密码认证,存在很大的安全隐患一 通过配置文件进行配置1.找到redis的安装目录下的redis.conf文件2.在尾部添加密码requirepass redispassword3.重启服务器端,然后连接redis失败,说明需要密码认证4.输入密码后进行认证二通过命...原创 2019-08-25 21:37:11 · 1438 阅读 · 0 评论 -
ElasticSearch 的安装以及设置ElasticSearch外网访问以及过程中遇到的问题
一 ElasticSearch需要安装在普通用户下,安装在root用户下会报如下错误Caused by: java.lang.RuntimeException: can not run elasticsearch as root1.创建普通用户并设置密码adduser normaluserpasswd normaluser如下密码设置成功2.进入normalu...原创 2019-08-18 22:50:25 · 4564 阅读 · 3 评论 -
mysql8.0修改用户权限使用外网连接
一.配置用户权限1.查看用户目前的权限use mysql;select Host,User from user where user='root';我这里已经开放了外网权限,没有开放%显示的是localhost2.修改Host为%,代表外网可以连接,并刷新update user set Host='%' where User ='root';FLUSH PR...原创 2019-08-18 18:47:01 · 4015 阅读 · 0 评论 -
Your password does not satisfy the current policy requirements 修改mysql密码出现的错误
0.起因安装mysql8.0使用临时密码登录后,提示修改密码根据提示修改mysql密码update user set password=password(‘123’) where user='root'出现错误ERROR 1819 (HY000): Your password does not satisfy the current policy requirements...原创 2019-08-18 18:37:59 · 23150 阅读 · 8 评论 -
CentOS7 OR Linux安装mysql8.0数据库
CentOS默认安装了MariaDB数据库,这是属于mysql的一个分支,安装之前需要将相应的依赖包进行删除干净,否者否出现各种异常0 .起因yum install mysql-community-server.x86_64使用上述命令安装mysql,出现各种错误错误信息如下You could try using --skip-broken to work around ...原创 2019-08-18 18:18:11 · 393 阅读 · 0 评论 -
InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMIT
1.起因使用django连接mysql进行数据库操作的时候出现以下错误InnoDB is limited to row-logging when transaction isolation level is READ COMMITTED or READ UNCOMMIT2.解决方案连续执行以下命令SET GLOBAL binlog_format = 'STATEME...原创 2019-08-18 17:38:16 · 1481 阅读 · 0 评论 -
CentOS-7.x 和linux服务器 中Redis的安装和配置
Redis 简介Redis 是完全开源免费的,遵守BSD协议,是一个高性能的key-value数据库。Redis 与其他 key - value 缓存产品有以下三个特点:Redis支持数据的持久化,可以将内存中的数据保存在磁盘中,重启的时候可以再次加载进行使用。 Redis不仅仅支持简单的key-value类型的数据,同时还提供list,set,zset,hash等数据结构的存储。...原创 2019-05-18 10:09:02 · 279 阅读 · 0 评论 -
Redis:默认配置文件redis.conf详解
# Redis配置文件样例# Note on units: when memory size is needed, it is possible to specifiy# it in the usual form of 1k 5GB 4M and so forth:## 1k => 1000 bytes# 1kb => 1024 bytes# 1m => 1000...原创 2019-05-18 10:07:54 · 20061 阅读 · 4 评论 -
CentOS-7.x 和linux服务器 中MongoDB的安装和配置
一 下载1.下载地址https://www.mongodb.com/download-center/community多版本 多平台都可下载2.下载到服务器中使用命令下载: 根据自己服务器进行下载wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-4.0.9.tgz3.将tgz文件进行解...原创 2019-05-17 22:16:44 · 539 阅读 · 0 评论 -
MongoDB配置用户名和密码进行认证登录
一 没有开启认证状态1.查看配置文件是否已经开启了认证状态cd /usr/local/mongodb/bin/vi mongodb.conf注释了代表没有开启用户名和密码认证没有注释代表开启了用户名和密码认证2.通过Robomongo客户端查看没有密码是否可以连接发现没有验证也是可以连接,这样就存在极大的安全隐患二 开启用户名和密码认证(创建用...原创 2019-08-26 00:10:41 · 35160 阅读 · 1 评论