1、关闭MySQL [root@mysql ~]# /etc/init.d/mysqld stopShutting down MySQL.. SUCCESS! 2、修改参数文件/etc/my.cnf [root@mysql ~]# cat /etc/my.cnf[mysqld] port=3306 ...
分类:
数据库 时间:
2021-04-20 14:29:49
阅读次数:
0
1、 dat <- data.frame(v1=sample(1:15,15),v2=sample(1:15,15)) dat$cat[dat$v1 <= 8] <- "SMALL" dat$cat[dat$v1 > 8 ] <- "BIG" 2、 dat <- data.frame(v1=samp ...
分类:
编程语言 时间:
2021-04-20 14:08:55
阅读次数:
0
通过nginx -t获得 nginx=`nginx -t 2>&1 | grep configuration` if [ ! -z "$nginx" ];then nginxtmp="${nginx#*file}" nginxf="${nginxtmp%test*}" echo $nginxf fi ...
分类:
系统相关 时间:
2021-04-19 15:38:16
阅读次数:
0
Explorer.EXE该文件没有与之关联的应用来执行该操作。请安装应用,若已经安装应用,请在"默认应用设置"页面中创建关联。 添加如下注册表信息即可解决: Windows Registry Editor Version 5.00 [[HKEY_CLASSES_ROOT\Folder\shell\e ...
分类:
其他好文 时间:
2021-04-19 15:11:29
阅读次数:
0
<dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch</artifactId> <version>${es.version}</version> </dependency> <dependency> < ...
分类:
编程语言 时间:
2021-04-19 15:11:01
阅读次数:
0
这里我们以禁止美国地址段为例,可以根据自己的需要将us.zone改为相应国家缩写 #/bin/bash wget -O /tmp/us.zone http://www.ipdeny.com/ipblocks/data/countries/us.zone for ip in `cat /tmp/us. ...
分类:
系统相关 时间:
2021-04-19 15:10:27
阅读次数:
0
记录一次修改mysql密码的完整过程(deepin系统) 登录数据库时出现: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 在mysql 8.0版本的正确修改密码姿势为(deep ...
分类:
数据库 时间:
2021-04-19 14:47:56
阅读次数:
0
内置对象 * 在jsp页面中不需要创建,直接使用的对象 * 一共有9个: 变量名 真实类型 作用 * pageContext PageContext 当前页面共享数据,还可以获取其他八个内置对象 * request HttpServletRequest 一次请求访问的多个资源(转发) * sessi ...
分类:
Web程序 时间:
2021-04-19 14:46:46
阅读次数:
0
今天用MySQL做了一个很简单类似于 UserName='张三'的查询,居然报错了: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' 从错 ...
分类:
数据库 时间:
2021-04-19 14:12:48
阅读次数:
0
一: shell编程介绍 1、一个shell脚本运行必须要拥有r和x权限; chamod u+x 1.txt 2、运行一个shell脚本的3个步骤: (1)启动bash解释器 (2)bash把文件内容从硬盘读入内存 (3)bash把读入到内存的内容进行语法解释,控制操作系统执行shell代码 写脚本 ...
分类:
其他好文 时间:
2021-04-16 12:25:54
阅读次数:
0