Follow-up from #1284658: MySQL strict mode is causing PDO Exceptions when lengths of varchar are exceeded. MySQL < 5.0.3 can only use varchar(255). Every other database can do much longer varchar lengths.

We can't change that for Drupal 7, but could increase minimum requirements for 8.x.

Comments

damien tournoud’s picture

Status: Active » Closed (works as designed)

Drupal 7 only supports MySQL > 5.0.15. That's both hardcoded in the code and documented on the requirements page.

See #698902: Make MySQL 5.0.15 requirement official, in which someone named catch made that happen.

catch’s picture

Apparently my brain cannot deal with two digit version numbers today, was reading 15 as 1.5 instead of 15 :(