[FLOW3-general] Specified key was too long

Bastian Waidelich bastian at typo3.org
Mon Feb 4 11:21:54 CET 2013


Stephen Bungert wrote:

Hi Stephen


> ./flow doctrine:migrate
>
> I get the follwing error:
>
> ===
> Uncaught Exception
>    An exception occurred while executing 'CREATE TABLE
>    flow3_resource_resourcepointer (hash VARCHAR(255) NOT NULL, PRIMARY
>    KEY(hash)) ENGINE = InnoDB':
>
>    SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key
>    was too long; max key length is 767 bytes
> ===


Is your database setup in the correct collation "utf8_unicode_ci" (not 
utf8_general_ci)?

Best,

-- 
Bastian Waidelich
--
Core Developer Team

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list