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