执行select语句生成所有truncate语句select CONCAT('truncate TABLE ',TABLE_NAME, ';') from INFORMATION_SCHEMA.TABLES where table_schema in ('www_iyuu_cn')执行select语句生成DROP语句select CONCAT('DROP TABLE ',TABLE_NAME...
控制台登录服务器登录mysql:mysql -uroot -p屏显:[root@VM_0_10_centos ~]# mysql -uroot -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 182
Server version: ...