我前段时间上传了一个 joomla 网站到我的数据库。现在我想知道我上传网站的确切日期。有没有办法在数据库中找到它?
最佳答案
一种快速的方法是在执行此命令时检查 create_time
或 update_time
:
show table status;
像下面的例子:
+--------------------+--------+---------+------------+------+----------------+-------------+------------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment |
+--------------------+--------+---------+------------+------+----------------+-------------+------------------+--------------+-----------+----------------+---------------------+---------------------+------------+-------------------+----------+----------------+---------+
| a_table | MyISAM | 10 | Dynamic | 2 | 60 | 120 | 281474976710655 | 1024 | 0 | NULL | 2011-09-08 18:26:38 | 2011-11-07 20:38:28 | NULL | latin1_swedish_ci | NULL | | |
关于mysql - 如何确定从 MySQL 导入的日期?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8073455/