2012年3月5日
摘要: linux 下 MySQL源码包的安装 实验环境 VMware 6.5.2 +redhatEnterprise 5 AS 实验目的 初步涉及源码包的安装,以简单实现其功能为目的,不对原理进行深层讨论 内核版本: 今天尝试安装MySQL的源码包 mysql-4.0.27.tar.gz 下载源码包 copy 到linux [root@localhost ~]# cd /tmp [root@localhost tmp]# ls gconfd-laowu scim-helper-manager-socket-root gconfd-root scim-pane... 阅读全文
posted @ 2012-03-05 16:59 草原和大树 阅读(3916) 评论(0) 推荐(0) 编辑
摘要: 2009-11-08 10:29 mysql版本:5.1.30 已经不记得这次是第几次安装mysql了,遇到这个问题倒是第一次。 之前在tar,./configure,make,make install 经典四步时,从来没有想过其中的过程,只觉得像例行公事一样,做就是了。 不幸的是,这次在./configure后,make时出现以下错误: make: *** No targets specified and no makefile found. stop. 本来这次还是想向别人请教的,后来转念一想,前段时间还告诉自己:遇到问题,首先想到自... 阅读全文
posted @ 2012-03-05 16:49 草原和大树 阅读(485) 评论(0) 推荐(0) 编辑
摘要: unsigned表示无符号,也就是非负数,只能用于整型数据。建立外键关系create table dept(id smallint unsign auto_increment,name varchar(50),primary key(id));查看建立表的SQL代码show create table dept \G;create table employee (id smallint unsign auto_increment,name varchar(100),deptno smallint unsigned,contraint fk_employee_deptno forgein key( 阅读全文
posted @ 2012-03-05 13:09 草原和大树 阅读(216) 评论(0) 推荐(0) 编辑