当前位置:Gxlcms > 数据库问题 > mysql相关

mysql相关

时间:2021-07-01 10:21:17 帮助过:18人阅读

1)查看当前所处的数据库:

select database();

2)查看表的一些状态信息,比如最后一次更新日期

show table status from your_db like 'your_table';

或者

select *
from   information_schema.tables
where  table_schema = 'your_db'
   and table_name = 'your_table'

mysql相关

标签:status   tables   数据库   show   mat   tab   format   状态   mysql   

人气教程排行