CentOS yum安装mysql后 Can’t connect to local MySQL server through socket ‘/var/lib/CentOS Can’t connect to local MySQL server through socket ‘/var/lib/my...
分类:
数据库 时间:
2014-07-31 16:02:26
阅读次数:
300
实例一:无参的存储过程 $conn = mysql_connect(‘localhost‘,‘root‘,‘root‘) or die ("数据连接错误!!!"); mysql_select_db(‘test‘,$conn); $sql = " create procedure myproce() begin INSERT INTO user (id, u...
分类:
数据库 时间:
2014-07-31 13:47:36
阅读次数:
365
一、sqlite3?使用
1、import?sqlite3?确认系统中是否安装
2、进入当前项目目录,cmd后运行python,进入命令行模式
3、import?sqlite3,
???sqlite3.connect(‘{path\name.db}‘)?#大括号内表示自定义,真实情...
分类:
数据库 时间:
2014-07-31 13:44:20
阅读次数:
226
本文部分整理自网络
Linux下文件系统管理
1.VFS文件系统概述
linux采用VFS来管理文件系统,而且linux设计的原则之一就是everything is file。因此文件管理系统是linux设计最核心的体现。
VFS的全称是Virtual File System (虚拟文件系统)。
总体上说 Linux 下的文件系统主要可分为三大块:一是上层的文件系统的系统调用,二是虚...
分类:
系统相关 时间:
2014-07-31 13:23:06
阅读次数:
329
c++纯虚函数是C++面向对象设计的重要组成部分。纯虚函数在函数参数后边添加“=0”实现。class Test{ ... void virtual Fun() =0; ... }上述Fun函数是纯虚函数,拥有纯虚函数的类是抽象类,不能实例化,如Test这让人想起C#或者Jav...
分类:
编程语言 时间:
2014-07-31 12:16:56
阅读次数:
227
1.The Nios II processor’s JTAG debug module provides a single, consistent method to connect to the processor using a JTAG download cable.2.Altera BSPs...
分类:
移动开发 时间:
2014-07-31 09:41:55
阅读次数:
285
启动mysql后,以root登录mysqlroot@Eadgar-virtual-machine:~# mysql -uroot -prootmysql> show variables like 'character%'; #执行编码显示+--------------------------+---...
分类:
数据库 时间:
2014-07-30 23:09:35
阅读次数:
440
分享下MYSQL拒绝访问报错not allowed to connect的解决方法。可以在其它任何的主机上以root身份登录mysql报如下错误,截取部分,message from server: "Host '****' is not allowed to connect to this MySQ...
分类:
数据库 时间:
2014-07-30 07:38:13
阅读次数:
337
Methods and apparatus to provide for power consumption reduction in memories (such as cache memories) are described. In one embodiment, a virtual tag ...
分类:
其他好文 时间:
2014-07-30 03:13:53
阅读次数:
372
"could not create the java virtual machine"打开到eclipse安装文件夹下的eclipse.ini文件,内容如下:-vmargs-Xms512M-Xmx1024M-XX:PermSize=64M-XX:MaxPermSize=128M 暂时不知道什么意思,...
分类:
系统相关 时间:
2014-07-29 21:24:12
阅读次数:
252