MySQL 遇到错误集锦

  • MySQL 规定:varchar必须指定长度,否则报错:ERROR 1064 (42000)

  • 只有一列时,primary key 直接写在这一列的后面;
    没有定义主键时,提示错误:ERROR 1075 (42000): Incorrect table definition; there can be only one auto column and it must be defined as a key

原文地址:https://www.cnblogs.com/cag2050/p/10375573.html