搞过sql
server的程序员很难理解oracle的表空间。我在这里简单说一下吧,oracle中的表空间就相当于sql server中的实例,用户就相当于sql
server中的库。所以在oracle中中备份一个数据库出来的话,其实就是相当新建一个用户,赋于用户权限(connect resourc...
分类:
数据库 时间:
2014-05-16 22:44:28
阅读次数:
356
问题描述:RPC(Remote Procedure
Call)远程程序调用:如果要给另一个节点发信息:可以简单写成:call(Msg,Node) -> {server,Node}!{self(),Msg},
receive {ok,Res} -> Resend.ser...
分类:
Web程序 时间:
2014-05-14 13:24:12
阅读次数:
450
#!/usr/bin/envpython#coding:utf8importos,sysimportmd5,tabfrommysql_co.my_dbimportset_mysqlfromssh_co.ssh_connectimportsshdfromssh_co.cfg.configimportssh_message,item_pathfromfileimportfindfiledefmy_mysql():db_file={}my_connect=set_mysql()f_file=findfile.mai..
分类:
编程语言 时间:
2014-05-13 01:44:22
阅读次数:
449
Problem DescriptionIn 2100, since the sea level
rise, most of the cities disappear. Though some survived cities are still
connected with others, but m...
分类:
其他好文 时间:
2014-05-10 07:33:38
阅读次数:
265
import MySQLdb# 打开数据库连接db =
MySQLdb.connect("localhost","testuser","test123","TESTDB" )# 使用cursor()方法获取操作游标
cursor = db.cursor() #cursor用来执行命令的方法:
分类:
数据库 时间:
2014-05-10 06:03:19
阅读次数:
309
在执行/etc/init.d/ndbd--initial出现下列错误[root@ndbd1~]#/etc/init.d/ndbd--initialUnabletoconnectwithconnectstring:nodeid=0,localhost:1186Retryingevery5seconds.Attemptsleft:121110987654321,failed.解决办法1.查看/etc/my.cnf文件配置[root@ndbd1~]#cat/etc/my.cnf..
分类:
数据库 时间:
2014-05-10 04:07:58
阅读次数:
1778
首先需要保证PC与手机在同一局域网内或有独立公网IP, 以下以在同一局域网为例(保证手机能访问到这台PC机器):
1. PC端配置
1). 安装Fiddler
2). 开启Fiddler以下功能:
1).allow romote computer to connect.
2).decrypt https traffic
3).ignore server...
分类:
其他好文 时间:
2014-05-10 03:25:39
阅读次数:
380
Problem DescriptionThere are N villages, which
are numbered from 1 to N, and you should build some roads such that every two
villages can connect to e...
分类:
其他好文 时间:
2014-05-10 02:28:50
阅读次数:
374
Windows Socket+TCP服务器客户端
Winsock是 Windows下套接字标准。
1.UDP socket编程:
UDP(用户数据报协议)是一个无连接,不可靠的数据传输,其特点是简单,快捷。相比与TCP,UDP不需要建立连接(不需connect、accept函数),数据发送接收...
数据库工具:SQLite Manager(V0.7.7)
SQLite版本:V3.6.19+
SQLite Manager 默认是不开启外键的。
那么如何,使用它创建一个带有外键的表呢?
一、开启外键支持
1. 打开“On-connect SQL Tab”
"Tools"->"Open...
分类:
数据库 时间:
2014-05-09 06:31:55
阅读次数:
463