02 2018 档案

摘要:安装MongoDB 3.6社区版 --配置MongoDB的yum源 vim /etc/yum.repos.d/mongodb-org-3.4.repo --添加以下内容: -- 安装MongoDB 启动MongoDB --配置SELinux 方法一: 如果SELinux开启enforcing模式: 阅读全文
posted @ 2018-02-28 21:29 Rubick7 阅读(140) 评论(0) 推荐(0)
摘要:def is_connection_usable(func): def wrapper(*args, **kwargs): result = None try: result = func(*args, **kwargs) result[0] except OperationalError: con 阅读全文
posted @ 2018-02-06 11:40 Rubick7 阅读(336) 评论(0) 推荐(0)