在执行service中一个方法bumenAuth()时出现错误:org.springframework.dao.InvalidDataAccessApiUsageException: Write operations are not allowed in read-only mode (FlushM...
分类:
数据库 时间:
2014-08-04 17:33:47
阅读次数:
265
题目:Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array A = [1,1,1,2,2,3],Your function shou....
分类:
编程语言 时间:
2014-08-04 13:24:27
阅读次数:
256
在wxpython做的GUI主线程结束时,由于一个正在运行的子线程无法正常地结束而RAISE出了如标题所示的异常。原因是wxpython的frame已经析构而不可访问其属性。 KILL一个子线程,方法有二:1. threading.setDaemon(True)为后台线程,当主线程结束时随之退...
分类:
数据库 时间:
2014-08-03 15:04:05
阅读次数:
376
angularjs 使用ng-repeat报错
{{word}}
[ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys
发现是因为相同的内容重复引起,解决方案
{{word}}
在ng-...
分类:
其他好文 时间:
2014-07-31 13:34:04
阅读次数:
199
Remove Duplicates from Sorted Array IIFollow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =...
分类:
其他好文 时间:
2014-07-30 20:22:54
阅读次数:
139
Error 0x800700DF: The file size exceeds the limit allowed and cannot be saved...
分类:
其他好文 时间:
2014-07-30 12:14:43
阅读次数:
151
场景:导入一个 sql 文件,但是 总是在执行几十句sql之后就失败了,打开失败日志 就一句 MySQL server has gone away 我使用了2个步骤,但是感觉是第2步成功的 1: 先看看 max_allowed_packet , 使用语法为 show global variables...
分类:
数据库 时间:
2014-07-30 12:02:43
阅读次数:
273
分享下MYSQL拒绝访问报错not allowed to connect的解决方法。可以在其它任何的主机上以root身份登录mysql报如下错误,截取部分,message from server: "Host '****' is not allowed to connect to this MySQ...
分类:
数据库 时间:
2014-07-30 07:38:13
阅读次数:
337
Mysql从客户端连接服务器连不上的问题
公司要用Mysql做一个测试,开始在自己的本地建一个Mysql数据库自己本地的程序再连上去,没有遇到过连接不上的问题。
这次数据库在服务器上,从本地客户端连接就是被拒绝。
报的错误为
ERROR 1130: Host ’192.168.5.3’ is not allowed to connect to this My...
分类:
数据库 时间:
2014-07-28 15:54:43
阅读次数:
226
1,E:\MySQL\MySQL Server 5.7\my.ini max_allowed_packet=40M2,MySQL的四种BLOB类型 类型 大小(单位:字节) TinyBlob 最大 255 Blob 最大 65K MediumBlob 最大 16M LongBlob 最大 ...
分类:
数据库 时间:
2014-07-25 19:07:51
阅读次数:
298