摘要:
1.查看MySQL版本信息: 1,登上 mysql>status; 2,登上 mysql>select version(); 3,登上 mysql> select @@version; 4,不登 [root@localhost ~]# mysql -V 5,不登 [root@localhost ~] 阅读全文
摘要:
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... 阅读全文