Io 异常: The Network Adapter could not establish the connection这个异常的出现一般与数据库和你的PC的设置有关这种异常的出现大致上有下面几种:1。IP错误。在设置URL时错误,例如:jdbc:oracle:thin:@192.168.0.36...
分类:
Web程序 时间:
2014-09-09 10:30:08
阅读次数:
284
5.6中,发现其实alter column 和更改modify column 步骤是一样的mysql> create table xs(name varchar(12),age int default 5);Query OK, 0 rows affected (0.34 sec)mysql> ins...
分类:
其他好文 时间:
2014-09-07 17:11:05
阅读次数:
303
无论什么时候传递一个地址给一个函数,都应该尽可能地用const修饰它。
/**
* 书本:【ThinkingInC++】
* 功能:论const对函数返回值的作用
* 时间:2014年9月7日14:14:01
* 作者:cutter_point
*/
class X
{
int i;
public:
X(int ii=0);
void modify();
};
X::...
分类:
编程语言 时间:
2014-09-07 14:49:35
阅读次数:
287
mysql> set profiling=1;Query OK, 0 rows affected (0.00 sec)mysql> alter table test modify name varchar(10);Query OK, 3 rows affected (0.00 sec)Records...
分类:
数据库 时间:
2014-09-07 09:49:24
阅读次数:
362
After installed the the graphical card driver in Ubuntu, the gnome desktop was not working anymore, needs to install and setup the wireless network, herewith the procedure,...
分类:
Web程序 时间:
2014-09-05 22:27:02
阅读次数:
226
案例环境: 操作系统版本: Windows Server 2012 R2 Standard 数据库版本 : SQL SERVER 2012 SP2 案例介绍: 今天进入一台新安装的SQL Server服务器的Reporting Service管理界面时,出现如下错误信息 The report ser...
分类:
数据库 时间:
2014-09-05 18:04:01
阅读次数:
181
情况描述:
打开Eclipse,先启动模拟器,手机再连接上,运行程序,发现出现officeline unknow,并且控制台打印:
[2014-09-05 10:42:27 - DeviceMonitor] Adb connection Error:远程主机强迫关闭了一个现有的连接。
[2014-09-05 10:42:28 - DeviceMonitor] Connection attem...
分类:
其他好文 时间:
2014-09-05 11:23:41
阅读次数:
321
现在我们对事务的概念和原理都有所了解了,并且作为已经有一些基础的C#开发者,我们已经熟知编写数据库交互程序的一些要点,即:(1)使用SqlConnection类的对象的Open()方法建立与数据库服务器的连接。(2)然后将该连接赋给SqlCommand对象的Connection属性。(3)将欲执行的...
分类:
Web程序 时间:
2014-09-05 09:56:41
阅读次数:
174
安装Cygwin在Cygwin的Home/(user)/.base_profile中增加NDK_ROOT环境变量
NDK_ROOT=/cygdrive/d/Android/android-ndk-r8e
export NDK_ROOT
打开cocos2d-x解压根目录,找到文件 create-android-project.bat 打开。
看到这几行
:: modify it t...
分类:
系统相关 时间:
2014-09-04 22:25:00
阅读次数:
270
使用mysql命令导入mysqldump生成的sql文件时,为了提高导入速度,往往需要修改dump文件,但是面对一个几十GB的文件,这事儿就太崩溃了,最快速的方法是这么做:( echo "SET AUTOCOMMIT=0;" echo "SET UNIQUE_CHECKS=0;" ...
分类:
数据库 时间:
2014-09-04 18:41:49
阅读次数:
298