1:启动MongoDB2014-07-25T11:00:48.634+0800 warning: Failed to connect to 127.0.0.1:27017, reason: errno:10061 由于目标计算机积极拒绝,无法连接。2:添加一配置文件##数据文件dbpath=E:\r...
分类:
其他好文 时间:
2014-10-18 18:13:15
阅读次数:
471
用python向MySQL中插入中文数据出错,原代码片段:1 db = MySQLdb.connect("localhost","root","123","TESTDB")2 cursor = db.cursor()3 sql = '''INSERT INTO aaaa(bb,cc) values(...
分类:
数据库 时间:
2014-10-18 11:11:26
阅读次数:
189
php操作xml并将其插入数据库
<?php
header('content-type:text/html;charset=utf-8');
mysql_connect('localhost', 'root', '');
mysql_select_db('test');
mysql_query('SET names utf8');
$xml_array=simplexml_load_file('suggest.xml'); //将XML中的数据,读取到数组对象中
foreach($xml_array a...
分类:
数据库 时间:
2014-10-18 09:53:04
阅读次数:
226
写入hdfsa1.channels.c1.type = memory# Define an Avro source called r1 on a1 and tell it# to bind to 0.0.0.0:41414. Connect it to channel c1.a1.sources.r...
分类:
Web程序 时间:
2014-10-18 00:33:46
阅读次数:
273
--创建表空间create tablespace myschooldatafile 'D:/ms.dbf'size 50M--创建用户create user t87 identified by t87;--授予权限(dba,connect,resource)grant connect,resourc...
分类:
数据库 时间:
2014-10-17 23:10:57
阅读次数:
358
DNS
使用 require('dns') 引入此模块。dns
模块中的所有方法都使用了 C-Ares,除了 dns.lookup 使用了线程池中的 getaddrinfo(3)。C-Ares
比 getaddrinfo 要快得多,但系统解析器相对于其它程序的操作要更固定。当一个用户使用 net.connect(80,
'google.com') 或 http.get({
hos...
如果使用executemany对数据进行批量插入的话,要注意一下事项:conn = MySQLdb.connect(host = “localhost”, user = “root”, passwd = “password”, db = “myDB”, charset=’utf8′)cursor =...
分类:
数据库 时间:
2014-10-17 15:02:35
阅读次数:
236
用python向MySQL中插入中文数据出错,原代码片段:1 db = MySQLdb.connect("localhost","root","123","TESTDB")2 cursor = db.cursor()3 sql = '''INSERT INTO aaaa(bb,cc) values(...
分类:
数据库 时间:
2014-10-17 15:01:52
阅读次数:
213
oracle start with connect by 使用方法oracle中connectbyprior递归算法Oracle中startwith...connectbyprior子句使用方法connectby是结构化查询中用到的,其基本的语法是:select...fromtablenamesta...
分类:
数据库 时间:
2014-10-17 13:18:10
阅读次数:
213
Windows2008R2网络属性查看与配置实例前提:1:C7000互联模块Bay1和Bay2配置FlexFabric模块2:EnclosureServerBay1:插有一个HPBL460g8服务器(LOM卡支持FlexFabric功能)3:在VC中配置ServerProfile赋予Bay1,配置内容包括:划分2个FlexNIC和2个FlexHBA。具体步骤:当我们在VC-F..