When installing a clean Drupal 8 version with Dutch selected as language, a database error occurs. Steps I followed:
- Clean Drupal installation (drupal 8.0.0-beta7)
- Dutch language selected
- Standard installation profile selected
- Database config provided
- Installing modules
- Importing Drupal translations (error)
It stops at 98% and throws the following error:
Uncaught exception thrown in shutdown function.Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42000]: Syntax error or access violation: 1118 Row size too large (> 8126). Changing some columns to TEXT or BLOB or using ROW_FORMAT=DYNAMIC or ROW_FORMAT=COMPRESSED may help. In current row format, BLOB prefix of 768 bytes is stored inline.: UPDATE {batch} SET batch=:db_update_placeholder_0
WHERE (bid = :db_condition_placeholder_0) ; Array (array with the Dutch translations).......in Drupal\Core\Batch\BatchStorage->update() (line 85 of C:\xampp\htdocs\xampp\www\drupal8\core\lib\Drupal\Core\Batch\BatchStorage.php).Drupal\Core\Batch\BatchStorage->update(Array)
_batch_shutdown()
call_user_func_array('_batch_shutdown', Array)
_drupal_shutdown_function()
Tried it several times to be sure. Test machine: Windows 7, Xampp (Apache 2.4.10 / PHP 5.5.15 / MySQL 5.0.11). When installing with English, no error occurs.
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous at XIO commentedI cannot reproduce this on the 8.0.x branch. Could this already be resolved on the dev branch? I recall a similar issue, but I can't seem to find it.
Comment #2
stefan.r CreditAttribution: stefan.r commentedThis might be a MySQL bug:
http://stackoverflow.com/questions/22637733/mysql-error-code-1118-row-si...
http://stackoverflow.com/questions/15585602/change-limit-for-mysql-row-s...
http://dba.stackexchange.com/questions/90096/row-size-too-large-8126
Comment #3
stefan.r CreditAttribution: stefan.r commentedIf this is actually the issue, maybe we could check for this in the database tasks in the installer?
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous at XIO commentedWe'll need more information from @tmansveld.
Comment #5
amateescu CreditAttribution: amateescu for Drupal Association commentedNote that the required MySQL version has been updated to 5.5.3 recently (#2473301: Raise MySQL requirement to 5.5.3) so you should update your local environment before trying to install beta10, which will be released in three days.
Comment #6
tmansveld CreditAttribution: tmansveld commentedWhatever it was, it now works okay. I updated Xampp to run on PHP 5.6.8 and MySQL 5.6.24. Made a clean Drupal installation with beta10, selected Dutch as language and no problems at all.
Comment #7
tmansveld CreditAttribution: tmansveld commented