MySQL常用语法 Posted on 2018-07-26 Edited on 2019-09-12➡️数据表相关➡️创建数据表123create database laravelS DEFAULT CHARACTER SET utf8mb4 DEFAULT COLLATE utf8mb4_general_ci;➡️清空数据表1truncate table 表名➡️导出数据123mysql> SELECT * FROM runoob_tbl -> INTO OUTFILE '/tmp/runoob.txt';mysqldump -u root -p RUNOOB runoob_tbl > dump.txt