摘要: SELECT @@sql_mode; = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUB 阅读全文
posted @ 2022-10-18 16:19 大漠孤烟~ 阅读(5) 评论(0) 推荐(0) 编辑
摘要: server { listen *:80; listen *:443 ssl; listen [::]:80; listen [::]:443 ssl; server_name www.example.com; ssl_certificate /usr/local/nginx/ssl/example 阅读全文
posted @ 2022-10-18 16:17 大漠孤烟~ 阅读(33) 评论(0) 推荐(0) 编辑
摘要: yum install cloud-utils-growpart xfsprogs -y fdisk -l df -Th growpart /dev/vda 1 resize2fs /dev/vda1 【centos7.0】xfs_growfs /dev/vda1 【centos8.0】 df -h 阅读全文
posted @ 2022-09-13 19:31 大漠孤烟~ 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 如图上面是数据: 正确解法(假设分数一样则名次一样) SELECT * FROM student t WHERE (SELECT COUNT(1)+1 FROM student WHERE class_id=t.class_id AND grade>t.grade)<=3 运行结果: 错误解法:来源 阅读全文
posted @ 2021-05-15 23:03 大漠孤烟~ 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 1. 实战1 https://www.cnblogs.com/HByang/p/12655060.html https://www.cnblogs.com/vhhi/p/12329671.html 2. 实战2 https://blog.csdn.net/qq_36658406/article/de 阅读全文
posted @ 2020-04-12 00:17 大漠孤烟~ 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 1. 升级PIP python -m pip install --upgrade pip 2. 安装mysql-python, pip install mysql-python失败,pip install pymysql成功 https://blog.csdn.net/bijiaoshenqi/ar 阅读全文
posted @ 2020-04-11 19:48 大漠孤烟~ 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 基础教程:https://www.runoob.com/python/python-cgi.html 补充教程:https://www.cnblogs.com/xuey/p/11857975.html @笔记:Python3.x CGI 中文乱码解决 import codecs, sys sys.s 阅读全文
posted @ 2020-04-11 18:46 大漠孤烟~ 阅读(201) 评论(0) 推荐(0) 编辑
摘要: http://www.shuijingwanwq.com/2018/02/28/2406/ https://curl.haxx.se/docs/caextract.html 编辑 php.ini,修改 ;curl.cainfo = 为 curl.cainfo = “C:\php-7.1.12\ext 阅读全文
posted @ 2019-10-16 06:59 大漠孤烟~ 阅读(1412) 评论(0) 推荐(0) 编辑
摘要: 由于数据库中的数据表和表字段的字符集和排序规则不统一,找了很多帖子,最后发现如下脚本很好用。 用法儿是:先执行如下脚本生成修改数据表和表字段的脚本,然后再执行这些生成的脚本。 1. 修改指定数据库中所有varchar类型的表字段的字符集为UTF8,并将排序规则修改为utf8_general_ci S 阅读全文
posted @ 2019-02-26 12:11 大漠孤烟~ 阅读(11669) 评论(2) 推荐(1) 编辑
摘要: Data Center11.11.11.11root / password远程连接密码: password rm -f /var/run/yum.pid httpd -v service mysqld start yum -y install httpd yum -y install httpd-m 阅读全文
posted @ 2019-02-23 18:36 大漠孤烟~ 阅读(572) 评论(0) 推荐(0) 编辑