mysql常用命令

mysql -uroot -p --prompt="u@h:d: :m:s>" 方便在console上显示现在工作在哪个数据库上

show create database xxdb;

use xxdb;

show create table xxtable;

show variables like '%log%';

原文地址:https://www.cnblogs.com/kidsitcn/p/4408816.html