ReadConfig("Noah.BSP", ref connect, ref database); string TableName = database + ".dbo.OUM_Organization"; /// /// xml读取配置文件 /// private void ReadC...
分类:
数据库 时间:
2014-09-24 12:12:56
阅读次数:
294
1.打开IIS2.选择待操作的虚拟目录3.鼠标右键,点击"Convert to Application”4.点击connect as5.选中Specific user,并点击Set6.输入用户名密码并点击OK7.点击Test Settings进行测试8.测试通过,在"Add Application"...
分类:
移动开发 时间:
2014-09-24 11:59:06
阅读次数:
223
import?pymysql
conn?=?pymysql.connect(host=‘localhost‘,?port=3306,user=‘root‘,passwd=‘root‘,db=‘DeliveryAddress‘,charset=‘UTF8‘)
cur?=?conn.cursor()
cur.execute("INSERT?INTO?`ProvinceCityCo...
分类:
数据库 时间:
2014-09-24 05:59:06
阅读次数:
322
两个方法一个获得Url的网页源代码getUrlContentString,另外一个从源代码中得到想要的地址片段,其中需要用到正则表达式去匹配得到网页源代码的过程:地址为string,将地址转换为java中的url对象url的openConnection方法返回urlConnectionurlConnection的connect方法建立连接新..
分类:
编程语言 时间:
2014-09-24 04:07:46
阅读次数:
378
connect with mysql service in virtual pc from really pc environment. it seems to be that the port rule in fire wall configuration should be noticed.
分类:
数据库 时间:
2014-09-24 01:35:45
阅读次数:
244
链接方法: 方式一:
ssh?=?paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect("某IP地址",22,"用户名",?"口令")
上面的第二行代码的作用是允许连接不在know_host...
分类:
其他好文 时间:
2014-09-24 01:27:55
阅读次数:
424
accept()函数 系统调用 accept() 会有点古怪的地方的! 你能够想象发生 这种事情:有人从非常远的地方通过一个你在侦听 (listen()) 的port连接 (connect()) 到你的机器。它的连接将增加到等待接受 (accept()) 的队列 中。 你调用 accep...
分类:
其他好文 时间:
2014-09-23 23:45:05
阅读次数:
150
1.3.1 oracle stream的启动和监控
第一步,备库使用stream管理用户test启动apply进程
Connect test/test
begin
dbms_apply_adm.start_apply(
apply_name => 'apply_dbwin2');
end;
/
第二步,主库使用stream管理用户test启动capture进程
Connect test/test
begin
dbms_capture_adm.start_capture(
c...
分类:
数据库 时间:
2014-09-23 17:05:04
阅读次数:
414
1.php.inimysql.connect_timeout = 60 设置mysql的超时时间,默认是60秒2.当php 在60秒钟内没有任何操作 将会断开连接: 使用while(treu) 做守护进程的时候,没有操作数据库 ,会断开连接,导致短信接口返回的结果不能够保存到数据库3. 新问题 ,....
分类:
数据库 时间:
2014-09-23 15:47:04
阅读次数:
216
连接mysql#encoding=utf-8import pymysqlimport timeclass ConnMysql(object): def __init__(self): self.conn = pymysql.connect(host='192.168.2.53',...
分类:
编程语言 时间:
2014-09-23 14:53:24
阅读次数:
623