[帝国CMS]通过mysql批量清除已经有的数据并且ID为1开始

来源:[帝国CMS]通过mysql清除已经有的数据并且ID为1开始​ 浏览:2084次 时间:2019-02-16
做网站找雨过天晴工作室

[帝国CMS]通过mysql清除已经有的数据并且ID为1开始

帝国CMS的数据库表非常多,一般你手里的源码里面的内容都是从1开始的,如果通过mysql清除内容呢,并且让ID从1开始

truncate table www_92game_net_ecms_news
truncate table www_92game_net_ecms_news_data_1
truncate table www_92game_net_ecms_news_index
truncate table www_92game_net_enewsfile_1
truncate table www_92game_net_enewstags
truncate table www_92game_net_enewsdolog
truncate table www_92game_net_enewsfile_other
truncate table www_92game_net_enewssearch
truncate table www_92game_net_enewssearchall
truncate table www_92game_net_enewstagsdata
truncate table www_92game_net_enewszt
truncate table www_92game_net_enewsztadd
truncate table www_92game_net_enewsztinfo