mysql常用命令

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

show create database xxdb;

use xxdb;

show create table xxtable;

show variables like '%log%';

 

posted @ 2015-04-09 09:47  世有因果知因求果  阅读(151)  评论(0编辑  收藏  举报