select{x table_name}from{x information_schema.tables}mysql> select{x table_name}from{x information_schema.tables};+-----------------------------------...
分类:
数据库 时间:
2015-02-12 09:10:46
阅读次数:
230
1、错误描述
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxError Exception:You have an error in your SQL syntax check the manual that corresponds to your MySQL server version for the right syntax to use near ...
分类:
数据库 时间:
2015-02-11 23:25:26
阅读次数:
362
1、错误描述
java.sql.SQLException:Invalid value for getInt()-'zhangsan'
2、错误原因
在遍历打印查询结果时,rs.getInt(3),而在数据库中对应的该字段却是varchar类型,Java端和数据库表中的数据类型不一致,导致出错
3、解决办法
将“rs.getInt(3)”修改成“ rs....
分类:
数据库 时间:
2015-02-11 21:58:00
阅读次数:
155
1,C:\>%windir%\system32\inetsrv\appcmd.exelistsitesSITE"DefaultWebSite"(id:1,bindings:net.tcp/808:*,net.pipe/*,net.msmq/localhost,msmq.formatname/localhost,http/*82:,state:Stopped)SITE"mysite"(id:2,bindings:http/*:80:,state:Stopped)2..
分类:
其他好文 时间:
2015-02-11 19:07:38
阅读次数:
221
高德地图2.X.X以前的版本将在2015年2月28日停用,所以前段时间把高德的几个包都更新了,也同时申请了新的key,可是今天准备打包发布,打完包后,地图不能用了,提示invalid_user_scode,查阅了一下资料情况是:确保在工程中添加的key为9月23日之后注册的。在debug模式下,或者..
分类:
移动开发 时间:
2015-02-11 18:50:24
阅读次数:
181
var p *int=new(int) //p指向一个int的存储空间,即p已有值
*p = 12 var p *int //当前p为nil,没有指向任何变量
*p = 12 //panic: runtime error: invalid memory address or nil pointer dereference golang指针规...
分类:
其他好文 时间:
2015-02-11 16:51:18
阅读次数:
89
在Mac上用brew安装Nginx,然后修改Nginx配置文件,再重启时报出如下错误:nginx: [error] invalid PID number "" in "/usr/local/var/run/nginx/nginx.pid"解决办法:$ sudo nginx -c /usr/local...
分类:
其他好文 时间:
2015-02-11 12:17:45
阅读次数:
211
1 /**Parses string formatted as YYYY-MM-DD to a Date object. 2 * If the supplied string does not match the format, an 3 * invalid Date (value NaN...
分类:
其他好文 时间:
2015-02-10 18:30:17
阅读次数:
154
今天开机时出现如下对话框. 解决办法 sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update 参考: http://ubuntuforums.org/archive/index.php/t-1981033.html...
分类:
系统相关 时间:
2015-02-09 14:20:50
阅读次数:
190
Invalid project description我想打开SVN 的代码 ,别让我拷到别的地方,怎么破?
分类:
系统相关 时间:
2015-02-07 14:32:54
阅读次数:
185