select user();

show databases;

user 'tablename';

show tables;

describe 'tablename';

导入sql文件

mysql>use test;
mysql> source c:/test.sql

查看系统字符集:

show variables like "char%";

 select round(rand()*N) 

show columns from 表名

相关文章: