1 dbtype=$dbtype; 14 $this->host=$host; 15 $this->user=$user; 16 $this->pwd=$pwd; 17 $this->dbname=$dbname; 18 }...
分类:
Web程序 时间:
2014-07-12 00:19:40
阅读次数:
246
//Situation System prompts that:"wget: unable to resolve host address".//Analysis Unable to resolve host address means the problem of DNS(Domain Nam.....
分类:
其他好文 时间:
2014-07-11 22:31:13
阅读次数:
187
一、蓝牙技术介绍 蓝牙无线通讯包括两种模式:基础模式(BR, Basic Rate)和低功耗模式(LE, Low Energy)。 蓝牙系统包括一个Host和多个Controllers,Host包括在HCI(Host Controller Interface)与应用程序之间,Controll...
分类:
其他好文 时间:
2014-07-11 11:14:11
阅读次数:
210
用户管理mysql>use mysql;查看mysql> select host,user,password fromuser;创建mysql> create user zx_root IDENTIFIEDby 'xxxxx'; //identified by 会将纯文本密码加密作为散列值存储修改....
分类:
数据库 时间:
2014-07-11 10:43:34
阅读次数:
255
http://blog.csdn.net/pickless/article/details/9191075Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7migh...
分类:
其他好文 时间:
2014-07-11 09:14:04
阅读次数:
222
1、直接按下win+r键,输入secpol.msc,打开本地安全策略。
2、找到“安全设置”的“本地策略”的“安全选项”
3、在右边一栏找到“网络安全:LAN管理器身份验证级别”,双击进入
4、在默认状态选项下,英文版应该为"no defined",中文版为空。下拉那个默认选项,选择“仅发送NTLM响应”
5、确认,收工...
今天同事pvuTraceback (most recent call last): File "F:\vmid.py", line 11, in vmiddle.connect((host, port))LookupError: unknown encoding: idna...
分类:
其他好文 时间:
2014-07-10 21:17:06
阅读次数:
365
错误例子:error: command 'cc' failed with exit status 1clang: error: unknown argument: '-multiply_definedsuppress' [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard err...
分类:
其他好文 时间:
2014-07-10 19:30:11
阅读次数:
3913
我采用的是MySQLdb操作的MYSQL数据库。先来一个简单的例子吧:importMySQLdb
try:
conn=MySQLdb.connect(host=‘localhost‘,user=‘root‘,passwd=‘root‘,db=‘test‘,port=3306)
cur=conn.cursor()
cur.execute(‘select*fromuser‘)
cur.close()
conn.close()
exceptMySQLdb.Error,e..
分类:
数据库 时间:
2014-07-10 18:20:40
阅读次数:
282
Ping是通过发送ICMP报文(类型8代码0)探寻网络主机是否存在的一个工具,如果服务器不能很好处理过大的Ping包,导致出现了PingtoDeath的攻击方式(用大Ping包耗尽对方的服务器资源)。Linux禁用ping格式如下:[root@test~]#echo"0">/proc/sys/net/ipv4/icmp_echo_ignore_all默..
分类:
系统相关 时间:
2014-07-09 09:00:46
阅读次数:
335