直接命令行操作没有问题,但是PHP连接就会报上面的错误。SET old_passwords =0;USE mysql;UPDATE user SET password =PASSWORD('yourpassword') WHERE user='testuser' limit 1;SELECT LEN...
分类:
数据库 时间:
2014-10-10 14:54:24
阅读次数:
229
错误描述:编译时报错:Cannot merge new index 66212 into a non-jumbo instruction。错误原因:Dalvik 对 method_id 由一个 short int(2个字节)标识。,一旦工程方法数超过64k method_id溢出,导致无法编译。 解...
分类:
其他好文 时间:
2014-10-10 14:35:24
阅读次数:
138
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again兄弟Ruiy哥的解决方案是从OS一样的系统scp /e tc/yum.repo.d/下的所有repo到本机的这个地方就O...
分类:
其他好文 时间:
2014-10-10 13:12:44
阅读次数:
173
对于开发板实现显示矢量字体,同样PC机一样,我需要字体文件,这里选择simsun.ttc(新宋体)。1)初始化库 FT_Init_FreeType( &library ); /* initialize library */2)create face object FT_New_Face( lib.....
分类:
其他好文 时间:
2014-10-10 02:33:03
阅读次数:
200
在MSDN文档里,把Visual C++接口描述如下:
Can inherit from zero or more base interfaces.Cannot inherit from a base class.Can only contain public, pure virtual methods.Cannot contain constructors, destructors, or...
分类:
其他好文 时间:
2014-10-09 18:35:07
阅读次数:
188
function initialize() {
var myLatlng = new google.maps.LatLng(39.95745,116.32764);
var myOptions = {
zoom: 18,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP...
在导入Android Sample的ApiDemos的时候,发现R.id.xx的文件不能够在 switch cases中使用 在google查询了下,找到以下答案:As of ADT 14, resource fields cannot be used as switch cases. In o.....
分类:
其他好文 时间:
2014-10-09 14:02:03
阅读次数:
193
统计每一位出现1的个数 求组合数直接贴代码#include #include #include #include #include #include #include #define CL(a,b) memset(a,b,sizeof(a))#define INF 0x3fffffff#define...
分类:
其他好文 时间:
2014-10-09 02:28:17
阅读次数:
179
做后台管理系统时遇到的问题,关于tab关闭后再打开不显示,或者报错
我在新的tabpanel中加入了一个grid,当我关闭再次打开就会报错Cannot read property 'addCls' of null,
原因是我在定义grid的错误的时候
这是错误代码:
[javascript] view
plaincopy...
分类:
Web程序 时间:
2014-10-09 01:54:17
阅读次数:
471
一、在web.xml中声明ConnectorServlet打开fckeditor-java-2.4.1-bin/fckeditor-java-2.4.1/site/connector.html复制以下代码<servlet><servlet-name>Connector</servlet-name><servlet-class>net.fckeditor.connector.ConnectorServlet</servlet-cl..
分类:
其他好文 时间:
2014-10-09 01:48:48
阅读次数:
158