摘要: 1.char 类型设置为非空 对于字段不赋值 默认储存为''(空字符串) 2.int 类型设置为非空 对于字段不赋值 单条插入 报错 多条数据同时插入 默认设置为0 阅读全文
posted @ 2019-03-08 18:13 shmily3929 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 1. 列出计划的ETA任务(worker) celery -A proj inspect scheduled 参考文档:http://docs.celeryproject.org/en/latest/userguide/monitoring.html 阅读全文
posted @ 2019-01-03 19:54 shmily3929 阅读(110) 评论(1) 推荐(0) 编辑
摘要: https://pypi.org/project/django-debug-toolbar/ https://django-debug-toolbar.readthedocs.io/en/latest/ 阅读全文
posted @ 2018-12-26 19:52 shmily3929 阅读(140) 评论(0) 推荐(0) 编辑
摘要: #原因: openssl 版本比较久 或者系统存在多个openssl 版本 # 解决问题 卸载原有的openssl 并且下载新的openssl (或者指定openssl) 阅读全文
posted @ 2018-12-12 16:36 shmily3929 阅读(849) 评论(1) 推荐(0) 编辑
摘要: /* 指定的数据库 每个表的索引 不包含主键索引的大小*/ select TABLE_NAME, concat(truncate(data_length/1024/1024,2),'mb') as data_size, concat(truncate(index_length/1024/1024,2),'mb') as index_size from information_schema.... 阅读全文
posted @ 2018-12-04 15:17 shmily3929 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 错误说明:用户名权限不够 阅读全文
posted @ 2018-12-04 15:11 shmily3929 阅读(1005) 评论(0) 推荐(0) 编辑
摘要: # 解决 sudo pip3 install supervisor 阅读全文
posted @ 2018-11-27 11:28 shmily3929 阅读(537) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/ydyang1126/article/details/72902113 安装环境: 操作系统:CentOS 7 OpenSSL Version:openssl-1.0.2f.tar.gz OpenSSL地址为http://www.openssl.org/s 阅读全文
posted @ 2018-11-15 18:27 shmily3929 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/heylun/article/details/78833050 阅读全文
posted @ 2018-11-15 18:22 shmily3929 阅读(114) 评论(0) 推荐(0) 编辑
摘要: (升级或卸载Python导致 yum出错) 一: 升级python导致yum出错 1. cd /usr/bin/yum 2. #!/usr/bin/python 修改为 #!/usr/bin/python2.6 二 :完全重装python和yum(卸载系统的安装的python) <1> 删除pyth 阅读全文
posted @ 2018-11-15 17:26 shmily3929 阅读(14211) 评论(2) 推荐(2) 编辑