上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页
摘要: #需要将test的数据进行删除 1、关闭自动提交SET autocommit=0; 2、开启事务START TRANSACTION; 3、事务语句DELETE FROM test; 4、明显的结束标记 ROLLBACK; SELECT * FROM test; 1、关闭自动提交SET autocom 阅读全文
posted @ 2021-05-14 09:49 金虹巴巴 阅读(965) 评论(0) 推荐(0) 编辑
摘要: @Resourceprivate RedisTemplate<String, Object> redisTemplate; @Autowired(required = false)public void setRedisTemplate(RedisTemplate redisTemplate) { 阅读全文
posted @ 2021-04-25 14:27 金虹巴巴 阅读(249) 评论(0) 推荐(0) 编辑
摘要: grant all on xxxx.* to 'root'@'%' identified by 'password' with grant option; xxxx代表创建的数据库; password为用户密码,在此为root的密码 阅读全文
posted @ 2021-04-23 10:52 金虹巴巴 阅读(58) 评论(0) 推荐(0) 编辑
摘要: 默认日志 Logback: 默认情况下,Spring Boot会用Logback来记录日志,并用INFO级别输出到控制台。在运行应用程序和其他例子时,你应该已经看到很多INFO级别的日志了。 从上图可以看到,日志输出内容元素具体如下: 时间日期:精确到毫秒 日志级别:ERROR, WARN, INF 阅读全文
posted @ 2021-04-02 09:31 金虹巴巴 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 路由,其实就是指向的意思,当我点击页面上的home按钮时,页面中就要显示home的内容,如果点击页面上的about 按钮,页面中就要显示about 的内容。Home按钮 => home 内容, about按钮 => about 内容,也可以说是一种映射. 所以在页面上有两个部分,一个是点击部分,一个 阅读全文
posted @ 2021-03-28 17:30 金虹巴巴 阅读(106) 评论(0) 推荐(0) 编辑
摘要: cat nohup.out | grep -n30 "approveReportWF()" tail -fn 50 nohup.out sudo grep -r "approveReportWF()" nohup.out grep -r "approveReportWF()" nohup.out t 阅读全文
posted @ 2021-03-13 18:51 金虹巴巴 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Get请求 curl命令模拟Get请求: 1、使用curl命令: 1 2 3 4 curl "http://www.baidu.com" 如果这里的URL指向的是一个文件或者一幅图都可以直接下载到本地 curl -i "http://www.baidu.com" 显示全部信息 curl -I "ht 阅读全文
posted @ 2021-03-12 16:07 金虹巴巴 阅读(567) 评论(0) 推荐(0) 编辑
摘要: 1 首先下载好对应的jdk: jdk-8u201-linux-x64.tar.gz 复制到服务器的目录下,解压安装,修改配置文件 1 创建一个自定义目录存(/home/temp)放并进行解压,执行命令行如下: 1 # mkdir /home/temp2 # cd /home/temp3 # tar 阅读全文
posted @ 2021-03-02 17:41 金虹巴巴 阅读(152) 评论(0) 推荐(0) 编辑
摘要: centos 开启终端默认时不禁止的,所以得手动开启(可自定义键盘)菜单:System->Preferences->Keyboard Shortcuts在Desktop分类下找到“Run a terminal”点击Run a terminal,按下需要的快捷键,比如Ctrl+Alt+T,即可。 以下 阅读全文
posted @ 2021-02-26 09:01 金虹巴巴 阅读(960) 评论(0) 推荐(0) 编辑
摘要: & &amp; < &lt; > &gt; " &quot; //双引号 ' &apos; //单引号 a<=b a &lt;=b 或者 a <![CDATA[<= ]]>b a>=b a &gt;=b 或者 a <![CDATA[>= ]]>b a!=b a <![CDATA[ <> ]]>b 或 阅读全文
posted @ 2021-02-08 09:59 金虹巴巴 阅读(447) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页