修改密码

查看当前数据库版本 select version();
查看数据库状态 show status;
查看当前系统时间 select sysdate();
查看当前用户 select user();
查看当前日期 select current_date();
查看当前时间 select current_time();
查看队列 show processlist;



创建数据库和查看所有数据库

切换库,在库里创建表

查看所有表,查看表的详细信息

查看当前使用的数据库

插入表内容

查看表中所有内容,并修改表内容

创建本地用户


给用户授予权限

7万+

被折叠的 条评论
为什么被折叠?



