如果是全新安装应该就不会出现这个问题,升级安装的话,要运行mysql_upgrade
,但是启动MYSQL就报错MySQL Daemon failed to
start如此就没办法运行mysql_upgrade升级MYSQL表了因为是全新安装的数据库服务器就不管老数据了,直接把老的MYSQL数据库文...
分类:
数据库 时间:
2014-06-08 21:41:49
阅读次数:
420
原题地址:https://oj.leetcode.com/problems/sqrtx/题意:Implementint
sqrt(int x).Compute and return the square root
ofx.解题思路:实现开平方函数。这里要注意的一点是返回的时一个整数。通过这一点我们可...
分类:
编程语言 时间:
2014-06-08 21:04:38
阅读次数:
329
原题地址:https://oj.leetcode.com/problems/search-for-a-range/题意:Given
a sorted array of integers, find the starting and ending position of a given
target ...
分类:
编程语言 时间:
2014-06-08 21:03:21
阅读次数:
297
原题地址:https://oj.leetcode.com/problems/sort-colors/题意:Given
an array withnobjects colored red, white or blue, sort them so that objects of
the same col...
分类:
编程语言 时间:
2014-06-08 20:56:32
阅读次数:
394
最近又在centos6.4下折腾tengine了,刚好不久前看了rpm包的制作方法,所以又有了搞个rpm包的想法。1
安装centos的开发环境集成包及tengine的依赖包1yum groupinstall "Development Tools"2yum install
pcre-devel3yu...
分类:
其他好文 时间:
2014-06-08 20:37:06
阅读次数:
261
原题地址:https://oj.leetcode.com/problems/add-binary/题意:Given
two binary strings, return their sum (also a binary string).For example,a ="11"b
="1"Return"...
分类:
编程语言 时间:
2014-06-08 20:28:04
阅读次数:
300
最近在弄网页爬虫这方面的,上网看到关于htmlagilitypack搭配scrapysharp的文章,于是决定试一试~于是到https://www.nuget.org/packages/ScrapySharp去看看,看到这句下载提示:To
install ScrapySharp, run the f...
分类:
Web程序 时间:
2014-06-08 20:23:28
阅读次数:
402
原文:.net 获取https页面的信息
在iis7.5服务器上不管用让我纠结了一天多的问题,给大家看下,有相同情况的可以不用浪费时间了,本人当时找了好半天都没找到什么有用的信息,项目在本地没有问题,但部署在服务器后,获取不到https页面的信息,加入下面的代码就可以了,因为iis7.5的安全协议比...
分类:
Web程序 时间:
2014-06-08 19:37:27
阅读次数:
192
Centos系列1yum install
lm_sensors2sensors-detect3sensorsUbuntu系列(多了service module-init-tools
start一步骤)1apt-get install lm-sensors2sensors-detect3service...
分类:
系统相关 时间:
2014-06-08 19:34:19
阅读次数:
655
几个月没有用 xen 很多东西都忘记了之前有使用xen 安装上两个db2 server
(centos系统) 一个db2 client (ubuntu server)玩转了好一会儿, 之后机器卡就没有怎么使用,
把相关的服务给停了,今天突然想用来做puppet 配置:找到了之前的镜像目录, 节点配置...
分类:
其他好文 时间:
2014-06-08 19:09:43
阅读次数:
245