码迷,mamicode.com
首页 >  
搜索关键字:tom启动报错:content is not allowed in prolog.    ( 1592个结果
Remove Duplicates from Sorted Array
Follow up the "remove duplicates",what if duplicates are allowed at most twice?思路一:使用变量numlength记录数组中相同数字出现不超过两次所得到的数组长度;code:class Solution {public: ...
分类:其他好文   时间:2014-09-30 23:01:00    阅读次数:171
跨域请求
XMLHttpRequest cannot loadhttp://localhost/MongoTest/person.php. Origin http://localhost:81 is not allowed by Access-Control-Allow-Origin. 同源策略导致的跨域请求...
分类:其他好文   时间:2014-09-26 19:45:58    阅读次数:135
Mysqldump导入数据库很慢的解决办法
1、MySQLdump导出的SQL语句在导入到其他数据库的时候会相当慢,甚至几十秒才处理一条SQL;在反复测试后,发现有两个参数会影响导入的速度;--max_allowed_packet=*****客户端/服务器之间通信的缓存区的最大大小;--net_buffer_length=****TCP/IP和套接字通信缓冲区大小,创建长度..
分类:数据库   时间:2014-09-26 01:45:39    阅读次数:562
The 15th tip of DB Query Analyzer
The latest version of DB Query Analyzer is 6.01. In 6.01, users are allowed to add, delete or update SQL Execute Schedule in the current MDI Child Form. Consequently, users can execute SQL Script in the time that they want. By doing this, you can not only...
分类:数据库   时间:2014-09-25 14:15:49    阅读次数:331
error: 'for' loop initial declarations are only allowed in C99 mode
error: 'for' loop initial declarations are only allowed in C99 mode 使用gcc编译代码是报出 error: 'for' loop initial declarations are only allowed in C99 mode note: use option -std=c99 or -std=gnu99 ...
分类:其他好文   时间:2014-09-24 23:35:17    阅读次数:209
记weblogic JDBC 'No operations allowed after statement closed' 缘由
Weblogic JDBC配置test on reserve之后仍然出现com.mysql.jdbc.exceptions.jdbc4.CommunicationsException的分析...
分类:数据库   时间:2014-09-24 23:27:10    阅读次数:376
php CI ip限制
public function index() { $ip = $this->input->ip_address(); if(!in_array($ip, $this->allowed_ips)){ $res = 'access denied'; echo ($ip); echo (...
分类:Web程序   时间:2014-09-22 15:09:42    阅读次数:352
解决Django 1.5非域名访问产生的500错误
Django 1.5开始提供了一个新的,而且是必需开启的特性:通过设置ALLOWED_HOSTS,来限制访问的域名。只有通过绑定好的域名才能访问站点,而通过IP地址或非绑定到此站点的方式,则会被拒绝(默认会产生一个500错误)...
分类:其他好文   时间:2014-09-22 11:08:02    阅读次数:178
php Restler 405 Method Not Allowed 问题解决啦
在学习Restler 3的时候,在看到 Example的CURD中,用Firefox的Rest Client使用GET,POST都可以,但是用PUT,DELETE出现了,在网上找了资料,在微软必应和Yahoo(装B...),百度都找过了 "405 Method not Allowed"的问题了,但是...
分类:Web程序   时间:2014-09-20 01:02:46    阅读次数:801
max_allowed_packet
max_allowed_packet在Mysql中执行insert语句时,当insert语句大于1M时发生了错误。原因是Mysql默认每个语句最大长度为1M解决办法是修改该参数值,然后重启服务器即可另有一篇文章,也是与此相关的。
分类:其他好文   时间:2014-09-19 19:02:25    阅读次数:172
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!