Mysql SQL表分区给出Alter Table错误

Mysql SQL表分区给出Alter Table错误,mysql,laravel,phpmyadmin,Mysql,Laravel,Phpmyadmin,我有一个数据库表,有数百万条记录。为了优化查询,我希望根据状态(即美国)对表进行分区。 但当我在sql部分执行ALTERTABLE代码时,会提示我错误 我已经根据“ST”列划分了我的表 系统应根据要求创建上述分区,但它提示我两个错误: * Missing comma before start of a new alter operation. (near "PARTITION" at position 64) * Unrecognized alter operation. (near "PART

我有一个数据库表,有数百万条记录。为了优化查询,我希望根据状态(即美国)对表进行分区。 但当我在sql部分执行ALTERTABLE代码时,会提示我错误

我已经根据“ST”列划分了我的表

系统应根据要求创建上述分区,但它提示我两个错误:

* Missing comma before start of a new alter operation. (near "PARTITION" at position 64)
* Unrecognized alter operation. (near "PARTITION" at position 64)
如果有人能指导我解决这件事,我将不胜感激。
谢谢,

我觉得这个错误可能是因为在这个声明之前发生了什么事情。之前什么都没有,我不知道我哪里出错了。我觉得这个错误可能是因为在这个声明之前发生了什么事情。之前什么都没有,我不知道我哪里出错了。
* Missing comma before start of a new alter operation. (near "PARTITION" at position 64)
* Unrecognized alter operation. (near "PARTITION" at position 64)