update_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
'update时更新该字段
create_time timestamp NULL DEFAULT CURRENT_TIMESTAMP
'创建时更新该字段
new_id int(11) not null auto_increment,PRIMARY KEY(new_id)
‘自增且设置为主键
数据库表卡死解决办法:
查看所有进程 SHOW PROCESSLIST;
找到卡死或在等待的线程,kill,假设这里是49496卡死了 KILL 49496;