数据库
heybob
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk
环境:ubuntu14.04 redis报错: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs原创 2016-01-25 14:46:56 · 618 阅读 · 0 评论 -
ImportError: No module named redis
python中运行如下代码: import redis pool = redis.ConnectionPool(host=DB_REDIS_HOST, port=DB_REDIS_PORT, password=DB_REDIS_PWD) redis_db = redis.Redis(connection_pool=pool, db=1) 报错: ImportError: No modu原创 2017-07-07 17:16:28 · 3458 阅读 · 2 评论 -
ubuntu14.04安装mongodb3.4.4
参考:http://www.runoob.com/mongodb/mongodb-linux-install.htmlhttps://www.mongodb.com/download-center#community 1,下载mongodb-linux-x86_64-ubuntu1404-3.4.4.tgz $ tar -xzvf mongodb-linux-x86_64-ubuntu1404原创 2017-07-07 17:21:24 · 1919 阅读 · 0 评论 -
mongoengine update() keywords must be strings
python2.7+mongoengine有报错: update() keywords must be strings 写python碰到这个问题还是小小懵了一下,查了下发现:DictField字段更新的键必须是字符串类型原创 2017-07-07 17:32:22 · 2804 阅读 · 0 评论 -
ubuntu因为数据库占用空间,导致根目录空间不足,
ubuntu14.04, mongodb和mysql数据默认保存在根目录,占用空间太多,需修改路径 一、mongodb: 参照:https://www.howtoing.com/change-mongodb-default-data-path 1 sudo vi /etc/mongodb.conf 将 dbpath=/var/lib/mongodb 改为 dbpath=/home/cloud/db...原创 2018-09-19 17:09:33 · 1094 阅读 · 0 评论
分享