mysql on suse linux 系统命令笔记
SLES 11
设置mysql服务自动启动状态
chkconfig mysql on
(chkconfig mysql off)
添加/删除mysql服务
/sbin/chkconfig --del mysql
/sbin/chkconfig --add mysql
查看mysql版本
mysql -V
mysqld -V
启停 mysql
service mysql start
service mysql stop
service mysql restart
相关文档:
/***************************by
garcon1986********************************/
1.创建表格时错误: ERROR 1005: Can't
create table (errno: 150)
这个错误是有由于主表和引用表的外键关联字段定义不一致引发的。
检查两个表的关联字段是否类型编码完全一致。
另外还有一种可能就是关联字段在引用表中 ......
文档创建时间:2010-02-14
1 // P120: 3.编程题 (3)
2
3 // The begining of C program: test04-03.c.
4
  ......
/*
* linux/fs/bitmap.c
*
* (C) 1991 Linus Torvalds
*/
/* bitmap.c contains the code that handles the inode and block bitmaps */
#include <string.h>
#include <linux/sched.h>
#include <linux/kernel.h> // 一些内核常用函数的原形定义
......
/*
* linux/fs/inode.c
*
* (C) 1991 Linus Torvalds
*/
#include <string.h>
#include <sys/stat.h> // 文件状态头文件
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <asm/system.h>
......