<![CDATA[ MODX legacy - Incorrect table definition; there can be only one auto column and it must be defined as a key - MODX Community Forums]]> https://forums.modx.com/thread/?thread=102157 <![CDATA[MODX legacy - Incorrect table definition; there can be only one auto column and it must be defined as a key]]> https://forums.modx.com/thread/102157/modx-legacy---incorrect-table-definition-there-can-be-only-one-auto-column-and-it-must-be-defined-as-a-key#dis-post-550476
Error in query (1075): Incorrect table definition; there can be only
one auto column and it must be defined as a key

For

 CREATE TABLE `modx_categories` (
      `id` int(11) NOT NULL auto_increment,
      `category` varchar(45) NOT NULL DEFAULT ''
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Categories to be used snippets,tv,chunks, etc';



Any ideas how I can fix this table (and other tables that might have the same problem)?]]>
laukok May 05, 2017, 05:12 PM https://forums.modx.com/thread/102157/modx-legacy---incorrect-table-definition-there-can-be-only-one-auto-column-and-it-must-be-defined-as-a-key#dis-post-550476
<![CDATA[Re: MODX legacy - Incorrect table definition; there can be only one auto column and it must be defined as a key]]> https://forums.modx.com/thread/102157/modx-legacy---incorrect-table-definition-there-can-be-only-one-auto-column-and-it-must-be-defined-as-a-key#dis-post-550486
Then export it, if you can't export it from PHPmyAdmin, you can export it via Evo itself

Login: Tools => Backup

If that doesn't work, someone else with more advanced DB knowledge will have to answer your question]]>
iusemodx May 05, 2017, 09:17 PM https://forums.modx.com/thread/102157/modx-legacy---incorrect-table-definition-there-can-be-only-one-auto-column-and-it-must-be-defined-as-a-key#dis-post-550486