1、将hdp002的数据库放到hdp004后,发现yii出现找不到表messages的迹象。用hdp002远程登录hdp004后发现,原来是hdp004没有授权给hdp002,用下面的sql语句即可:在安装mysql的机器上运行:
1、d:\mysql\bin\>mysql -h localho.....
分类:
数据库 时间:
2014-05-01 08:45:25
阅读次数:
473
InterceptorManager PluginManageropenfire
插件的中servlet 在web-custom.xml 中的配置 url 一定要小写,访问时不区别大写小 否则404如: Sample1Servlet
com.myyule.openfire.plugin.S...
分类:
其他好文 时间:
2014-05-01 08:42:11
阅读次数:
305
for Web Authors and WebmastersThis is an
informational document. Although technical in nature, it attempts to make the
concepts involved understandabl...
分类:
其他好文 时间:
2014-05-01 08:37:04
阅读次数:
438
1、首先停止正在运行的MySQL进程>net stop
mysql如未加载为服务,可直接在进程管理器或者服务中进行关闭。2、以安全模式启动MySQL进入mysql目录在命令行下运行>d:>cd
xampp/mysql/bin>mysqld.exe --skip-grant-tables3、完成以后就...
分类:
数据库 时间:
2014-05-01 08:33:41
阅读次数:
393
Struts2简介
Struts 2框架作为Struts 1.X框架的替代技术,相对Struts 1.X来说,有着本质上的改变, Struts 2框架是从WebWork框架发展而来的.Apache Struts 2即是大家之前所熟悉的webwork2.随着各自的发展,webwork和Struts社区决定将二者合并为Struts2,新版本的Struts与以前版本一样更易于使...
分类:
其他好文 时间:
2014-04-29 13:36:20
阅读次数:
249
Vagrant进阶:搭建简易Python,PHP开发环境...
分类:
编程语言 时间:
2014-04-29 13:34:21
阅读次数:
332
Problem Description
In the Wide Web World, Which web server was popular in web site? Apache, nginx, lighttpd? Baidu.com use Apache, and many web sites like 163.com use nginx. Why? Its configuration i...
分类:
其他好文 时间:
2014-04-29 13:24:20
阅读次数:
355
SAE的官方文档:http://apidoc.sinaapp.com/sae/SaeMail.html
SaeMail类的具体实现:http://apidoc.sinaapp.com/__filesource/fsource_sae__saemail.class.php.html
官方给出的demo:
setAttach...
分类:
其他好文 时间:
2014-04-29 13:23:22
阅读次数:
234
我们都知道在Web开发中,都需要服务器,比如Java Web开发的Tomcat,WebLogic,WebSphere,现在来看利
用Tornado Web Server框架如何写一个简易的Python服务器。
一般来说只需要实现get和post方法就可以了。以上次使用redis数据库的例子说明,数据库插入代码如下:
import redis
import datetime
clas...
分类:
其他好文 时间:
2014-04-29 13:17:20
阅读次数:
397
新浪sae的官方说明文档:http://apidoc.sinaapp.com/sae/SaeMysql.html
Class SaeMysql 具体实现:http://apidoc.sinaapp.com/__filesource/fsource_sae__saemysql.class.php.html
新浪官方文档已经给出了简单的示例:
<?php
$mysql = new Sae...
分类:
数据库 时间:
2014-04-29 13:14:20
阅读次数:
407