1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in

MySQL错误

成功解决1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in

错误代码

1293 - Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in

错误原因

两台服务器的mysql版本不一致. 低版本不支持在一个表里面 有2个TIMESTAMP 类型 的列.

解决方法

升级到最新版本

步骤:

  • 卸载旧版本MySQL

    1. 这里我用360软件管家卸载
    2. 卸载完后点强力清扫
    3. 删除里面所有文件
    4. 并清空回收站
  • 下载新版本

  • 安装新版本

发布了29 篇原创文章 · 获赞 19 · 访问量 1306

猜你喜欢

转载自blog.csdn.net/s1156605343/article/details/104977530