⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 symlink.result

📁 这是linux下运行的mysql软件包,可用于linux 下安装 php + mysql + apach 的网络配置
💻 RESULT
字号:
drop table if exists t1,t2,t7,t8,t9;drop database if exists mysqltest;create table t1 (a int not null auto_increment, b char(16) not null, primary key (a));create table t2 (a int not null auto_increment, b char(16) not null, primary key (a));insert into t1 (b) values ("test"),("test1"),("test2"),("test3");insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;insert into t2 (b) select b from t1;insert into t1 (b) select b from t2;drop table t2;insert into t9 select * from t1;check table t9;Table	Op	Msg_type	Msg_texttest.t9	check	status	OKoptimize table t9;Table	Op	Msg_type	Msg_texttest.t9	optimize	status	OKrepair table t9;Table	Op	Msg_type	Msg_texttest.t9	repair	status	OKalter table t9 add column c int not null;show create table t9;Table	Create Tablet9	CREATE TABLE `t9` (  `a` int(11) NOT NULL auto_increment,  `b` char(16) NOT NULL,  `c` int(11) NOT NULL,  PRIMARY KEY  (`a`)) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='MYSQLTEST_VARDIR/tmp/' INDEX DIRECTORY='MYSQLTEST_VARDIR/run/'alter table t9 rename t8, add column d int not null;alter table t8 rename t7;rename table t7 to t9;drop table t1;SHOW CREATE TABLE t9;Table	Create Tablet9	CREATE TABLE `t9` (  `a` int(11) NOT NULL auto_increment,  `b` char(16) NOT NULL,  `c` int(11) NOT NULL,  `d` int(11) NOT NULL,  PRIMARY KEY  (`a`)) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='MYSQLTEST_VARDIR/tmp/' INDEX DIRECTORY='MYSQLTEST_VARDIR/run/'Got one of the listed errorsGot one of the listed errorsGot one of the listed errorsGot one of the listed errorsGot one of the listed errorsalter table t9 rename mysqltest.t9;select count(*) from mysqltest.t9;count(*)16724show create table mysqltest.t9;Table	Create Tablet9	CREATE TABLE `t9` (  `a` int(11) NOT NULL auto_increment,  `b` char(16) NOT NULL,  `c` int(11) NOT NULL,  `d` int(11) NOT NULL,  PRIMARY KEY  (`a`)) ENGINE=MyISAM DEFAULT CHARSET=latin1 DATA DIRECTORY='MYSQLTEST_VARDIR/tmp/' INDEX DIRECTORY='MYSQLTEST_VARDIR/run/'drop database mysqltest;create table t1 (a int not null) engine=myisam;show create table t1;Table	Create Tablet1	CREATE TABLE `t1` (  `a` int(11) NOT NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1alter table t1 add b int;show create table t1;Table	Create Tablet1	CREATE TABLE `t1` (  `a` int(11) NOT NULL,  `b` int(11) default NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1show create table t1;Table	Create Tablet1	CREATE TABLE `t1` (  `a` int(11) NOT NULL,  `b` int(11) default NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1drop table t1;show create table t1;Table	Create Tablet1	CREATE TABLE `t1` (  `i` int(11) default NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1drop table t1;show create table t1;Table	Create Tablet1	CREATE TABLE `t1` (  `i` int(11) default NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1drop table t1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -