The max length of column name in MySQL is 64 (you can check documentation). My question is how can I change it. To be more specific, I want to increase it. Can it be done? if yes, how it should be done?

Edit: Few words on the motivation: These tables are created automatically upon strings input, and not needed to be readable, as they are being used by the software. The alternative is to give some "id" as column name instead of the input string concatenation. However increasing the column name length can solve it without any code change.

Thanks,

Lior

有帮助吗?

解决方案

It can not be done. Why do you want to have a column name exceeding 64 in length?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top