解决问题方法如下:在dos下运行net start mysql
不能启动mysql!提示发生系统错误
5;拒绝访问!切换到管理员模式就可以启动了。所以我们要以管理员身份来运行cmd程序来启动mysql。那么如何用管理员身份来运行cmd程序呢?0.在C:\Windows\System32下面找到cmd...
分类:
数据库 时间:
2014-05-26 22:52:19
阅读次数:
1188
to make tomcat to use javaw.exe instead of
java.exeusing some startup parameter or environment varibaleAt the bottom
ofsetclasspath.batset _RUNJAVA="%...
分类:
其他好文 时间:
2014-05-26 22:24:34
阅读次数:
415
进入linux命令模式,输入#yum install httpd //安装apache#vi
/etc/sysconfig/httpd //修改文件,打开worker模式将#号去掉重启apache,命令如下#service httpd
restart报错如下:[root@localhost~]#se...
分类:
其他好文 时间:
2014-05-26 22:07:53
阅读次数:
315
linux suse11在terminal可以正常登录进行各种操作,在tomcat运行jdbc
web程序异常:com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications
link failureThe last p...
分类:
数据库 时间:
2014-05-26 22:03:31
阅读次数:
374
1.Routing : 路由
主要是比对通过浏览器传来的http要求与响应适当的网址给浏览器。@Html.ActionLink("关于","About","Home")
这段代码生成的HTML超连接: 关于 2. 默认情况下 网址路由规则定义在 App_Start\RouteConfig.cs...
分类:
Web程序 时间:
2014-05-23 03:53:47
阅读次数:
405
在DAG中DFS中顶点的出栈顺序即逆拓扑序。
def topological_sort( graph ):
is_visit = dict( ( node, False ) for node in graph )
li = []
def dfs( graph, start_node ):
for end_node in...
分类:
编程语言 时间:
2014-05-22 23:12:10
阅读次数:
487
List integers = new List() { 0, 1, 2, 3, 4, 5,
6, 7, 8, 9 };Parallel.ForEach(integers, (int item, ParallelLoopState state)
=>{ if (item > 5) { ...
分类:
Web程序 时间:
2014-05-22 16:03:56
阅读次数:
287
The start index: this is inclusive, i.e. this
will be the first index value in the loopThe end index: this is exclusive, so it
won’t be processed in t...
分类:
Web程序 时间:
2014-05-22 15:59:26
阅读次数:
264
启动:net start mySql; 进入:mysql -u root -p/mysql
-h localhost -u root -p databaseName; 列出数据库:show databases; 选择数据库:use
databaseName; 列出表格:show tables...
分类:
数据库 时间:
2014-05-22 14:46:30
阅读次数:
344
SQL Server 2005引入的新方法。SELECT * FROM (SELECT
ROW_NUMBER() OVER(ORDER BY keyField DESC) AS rowNum, * FROM tableName) AS t
WHERE rowNum > start AND rowNu...
分类:
数据库 时间:
2014-05-22 14:22:58
阅读次数:
351