今天执行sql语句时出现了高版本mysql愈发不兼容问题 'this is incompatible with sql_mode=only_full_group_by' 所以改一下mysql配置 在mysql.ini或者my.cnf下增加 [mysqld] sql_mode ='STRICT_TRA ...
分类:
数据库 时间:
2021-01-01 12:50:15
阅读次数:
0
用户和组管理 用户管理 useradd //用户创建命令;创建一个叫linux001的用户(不能用纯数字创建) [root@lc ~]# useradd linux001 [root@lc ~]# id linux001 uid=1000(linux001) gid=1000(linux001) g ...
分类:
系统相关 时间:
2021-01-01 12:49:25
阅读次数:
0
<table id="group-table" data-toggle="table" class="table table-striped table-hover" style="border: 1px solid #e4eaec; margin-top: 10px;"></table> //获取 ...
分类:
编程语言 时间:
2021-01-01 12:09:27
阅读次数:
0
1. 目标功能: 将字符串首字母转成大写,而字符串其余字母保持不变 2. 如果使用字符串的capitalize()方法, 可以将字符串的首字母转为大写, 同时会将字符串其余字母都转为小写 示例代码: text_str = "badBoy" print(text_str.capitalize()) 执 ...
分类:
编程语言 时间:
2020-12-30 11:36:29
阅读次数:
0
1.WITH ROLLUP:是用来在分组统计数据的基础上再进行统计汇总,即用来得到group by的汇总信息;例子:首先在name字段上进行分组,然后在分组的基础上进行某些字段统计,表结构如下: CREATE TABLE `test` ( `Id` int(11) NOT NULL AUTO_INC ...
分类:
数据库 时间:
2020-12-28 11:16:58
阅读次数:
0
第一步:建立用户和该用户所使用的目录 useradd -d /home/mmc/www_WebServer/ftp/dengs -g ftpusers -s /sbin/nologin dengs passwd dengs mkdir dengs chown dengs dengs chmod -r ...
分类:
其他好文 时间:
2020-12-28 11:04:37
阅读次数:
0
一、编译部署Nginx 1.12 安装配置: [root@localhost ~]# groupadd nginx [root@localhost ~]# useradd -s /sbin/nologin -g nginx -M nginx [root@localhost ~]# systemctl ...
分类:
其他好文 时间:
2020-12-28 10:59:10
阅读次数:
0
方法一: SELECT * FROM table_name AS ta WHERE ta.唯一键 = ( SELECT max( tb.唯一键 ) FROM table_name AS tb WHERE ta.判断重复的列 = tb.判断重复的列 ); 方法二: select b.* from (s ...
分类:
数据库 时间:
2020-12-25 12:05:49
阅读次数:
0
1.Maven依赖 <!-- MBG --> <dependency> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-core</artifactId> <version>1.3.5</version> ...
分类:
其他好文 时间:
2020-12-23 12:47:38
阅读次数:
0
Dear Prof. X I am XX, a Ph.D. candidate in the XX group of YY University, which is under the supervision of Prof. ZZ.I am about to finish my Ph.D. stu ...
分类:
其他好文 时间:
2020-12-23 12:24:19
阅读次数:
0