上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 77 下一页

mysql命令gruop by报错this is incompatible with sql_mode=only_full_group_by

摘要: https://www.cnblogs.com/jim2016/p/6322703.html 在mysql 工具 搜索或者插入数据时报下面错误: ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY clause an 阅读全文
posted @ 2017-11-27 11:16 silyvin 阅读(151) 评论(0) 推荐(0)

服务器病毒问题解决- 阿里云 挖矿病毒,Circle_MI.png

摘要: http://blog.51cto.com/chaojiit/1924111今天我们的服务器 CPU 跑满了,最后发现是中了两个病毒,病毒有时是恶意毁坏你的数据,有的为了当做肉机,当你遇到机器本身没跑什么东西,但是很慢的情况下,可以top 看一下机器的使用情况如果发现... 阅读全文
posted @ 2017-11-24 11:31 silyvin 阅读(489) 评论(0) 推荐(1)

trim和replace的陷阱实践

摘要: http://blog.csdn.net/hj7jay/article/details/72518142[java] view plain copySystem.out.println(" 我可能用了假的trim ".trim()); 结果是,trim用了... 阅读全文
posted @ 2017-11-15 14:33 silyvin 阅读(310) 评论(0) 推荐(0)

mysql 5.7.15 union order by 子查询排序不生效

摘要: 其实这么写理论上是对的,很多博客教程都是这样子写的。。 select * from (SELECT * FROM article WHERE is_top=0 ORDER BY id DESC) as t1 union select * from (SELECT * FROM article WHE 阅读全文
posted @ 2017-11-13 23:56 silyvin 阅读(682) 评论(0) 推荐(0)

日志:using the Connector/J connection property 'autoReconnect=true' to avoid this problem

摘要: 碰上: ERROR o.h.e.jdbc.spi.SqlExceptionHelper - The last packet successfully received from the server was 236,095,086 milliseconds ago. The last packet 阅读全文
posted @ 2017-11-13 23:54 silyvin 阅读(394) 评论(0) 推荐(0)

mysql如何更改character-set-server默认为latin1

摘要: http://blog.csdn.net/whd526/article/details/54894559 阅读全文
posted @ 2017-11-06 01:10 silyvin 阅读(341) 评论(0) 推荐(0)

redis的事务与乐观锁

摘要: 例如,我们假设Redis中并未提供incr命令来完成键值的原子性递增,如果要实现该功能,我们只能自行编写相应的代码。其伪码如下: val = GET mykey val = val + 1 SET mykey $val这个读++写操作,在mys... 阅读全文
posted @ 2017-11-03 15:58 silyvin 阅读(228) 评论(0) 推荐(0)

multipart/form-data和application/x-www-form-urlencoded的区别

摘要: FORM元素的enctype属性指定了表单数据向服务器提交时所采用的编码类型, 默认的缺省值是“application/x-www-form-urlencoded”。 然而,在向服务器发送大量的文本、包含非ASCII字符的文本或二进制数据时这种编码方式效率很低。 在文件上载时,所使用的编码类型应当是 阅读全文
posted @ 2017-11-02 17:35 silyvin 阅读(254) 评论(0) 推荐(0)

The multi-part request contained parameter data (excluding uploaded files) that exceeded

摘要: 18down votefavorite4I've got a fairly simple Spring Boot web application, I have a single HTML page with a form with enctype="multipar... 阅读全文
posted @ 2017-11-02 12:53 silyvin 阅读(4284) 评论(0) 推荐(0)

静态内部类和非静态内部类的区别

摘要: 如果你不需要内部类对象与其外围类对象之间有联系,那你可以将内部类声明为static。这通常称为嵌套类(nested class)。Static Nested Class是被声明为静态(static)的内部类,它可以不依赖于外部类实例被实例化。而通常的内部类需要在外部类... 阅读全文
posted @ 2017-11-01 16:34 silyvin 阅读(672) 评论(0) 推荐(0)
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 77 下一页