【问题标题】:How can I Determine Date of Import from MySQL?如何确定从 MySQL 导入的日期?
【发布时间】:2011-12-25 18:50:28
【问题描述】:

前段时间我上传了一个 joomla 网站到我的数据库。现在我想知道我上传网站的确切日期。有没有办法在数据库中找到它?

【问题讨论】:

    标签: mysql database web joomla timestamp


    【解决方案1】:

    一种快速的方法是在执行此命令时检查create_timeupdate_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 |                |         |
    

    【讨论】:

    • 很棒的答案。
    【解决方案2】:

    我确信还有另一种方法可以解决这个问题,但您可能可以查看“数据”文件夹并查看 mysql 数据文件的创建日期。

    【讨论】:

      猜你喜欢
      • 2017-10-01
      • 1970-01-01
      • 1970-01-01
      • 2013-03-13
      • 2011-04-12
      • 2015-11-13
      • 1970-01-01
      • 2013-01-11
      • 1970-01-01
      相关资源
      最近更新 更多