摘要: 1.查看MySQL版本信息: 1,登上 mysql>status; 2,登上 mysql>select version(); 3,登上 mysql> select @@version; 4,不登 [root@localhost ~]# mysql -V 5,不登 [root@localhost ~] 阅读全文
posted @ 2015-09-01 18:01 Smmer 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.MySQL的复制相同表结构方法: 1)create table table_name as select * from table1 where 1=2 (或者limit 0); 2) create table table_name like table1_name; 二者的用途: as... 阅读全文
posted @ 2015-09-01 11:10 Smmer 阅读(1497) 评论(0) 推荐(0) 编辑