1,使用python链接mysql # -*- coding: utf-8 -*-#
connect.py --连接到MySQL服务器import sysimport MySQLdbtry: conn = MySQLdb.connect(db =
"cookbook", host = "localh...
分类:
数据库 时间:
2014-07-22 23:11:15
阅读次数:
518
java.lang.IllegalStateException: Target host
must not be null, or set in parameters.
原因:连接地址不完整,必须加上"http://"。========================================...
分类:
移动开发 时间:
2014-07-22 23:08:12
阅读次数:
415
1.BIND的组成?
* named守护进程–用来回答查询结果的
* 去联系DNS分布式数据库的服务器用来解析主机查询的库例程
* DNS的一些重要命令:nslookup,dig和host
* 2.名字服务器
* 权威--一个区的正式代表
* 主服务器:每个区都有的一个主名字服务器,保存着本区数据的正式拷贝。SA...
分类:
其他好文 时间:
2014-07-22 23:04:55
阅读次数:
334
①解决安卓SDK更新dl-ssl.google.com无法连接进入C:\Windows\System32\drivers\etc下,用记事本打开host文件://74.125.237.1
dl-ssl.google.com74.125.23.190 dl-ssl.google.com②eclipse...
分类:
移动开发 时间:
2014-05-02 12:15:03
阅读次数:
343
示例代码使用C++来开发WPF,主要是如何在MFC(Win32)的窗口中Host
WPF的Page。下面我就做个详细的介绍.一、创建工程, 由于MFC的Wizard会生成很多用不到的代码,所以我准备从一个空的工程开始创建一个MFC的工程。a)
打开VS2005,菜单File->New->Projec...
分类:
编程语言 时间:
2014-05-01 19:26:41
阅读次数:
371
org.openqa.selenium.firefox.NotConnectedException:
Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console
output:*** LOG add...
分类:
其他好文 时间:
2014-05-01 15:00:46
阅读次数:
292
1,按照vmware,导入系统(注意td提供的版本是64位的)
2,linux系统:root/root
3,配置ip:
Enter a cop entry in the linux hosts file (/etc/hosts accessible from the linux command line in the VMware console, ie. c:>vi /etc/host...
分类:
其他好文 时间:
2014-04-30 22:13:39
阅读次数:
503
Usage: docker [OPTIONS] COMMAND [arg...]
-H=[unix:///var/run/docker.sock]: tcp://host:port to bind/connect to or unix://path/to/socket to use
A self-sufficient runtime for linux containers.
Co...
分类:
其他好文 时间:
2014-04-28 10:17:41
阅读次数:
359
出现“CHECK_NRPE: Error - Could not complete SSL handshake.”的错误。
问题解决的步骤:
1. 确保openssh , openssl, openssl-devel版本一致。
在centOS 上,可以运行:
yum install openssl openssl-devel
2. nagios监控端的允许地址和...
分类:
其他好文 时间:
2014-04-27 22:18:19
阅读次数:
988
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
解决方法:
setenforce 0...
分类:
移动开发 时间:
2014-04-27 21:18:05
阅读次数:
450