The issue I am having is I am receiving the following error, I went into MySql and ran:
ALTER TABLE block_content__field_views_reference_book
MODIFY COLUMN fiel
What version? What CHARACTER SET
? And other issues. Before version 5.5, there was CHARACTER SET utf8
, which needs up to 3 bytes per character, but not utf8mb4
, which needs up to 4. With 5.7 (10.2?), the problem was 'solved'. Meanwhile, an index had been limited to 767 bytes; not it is 3072.
Your index on a VARCHAR(500)
needs 1500 or 2000 bytes.
Here is my list of 5 things that could be done: http://mysql.rjweb.org/doc.php/limits#767_limit_in_innodb_indexes
You need to choose among them based on which flaw you can live with.
this is what i tried and it works, for drupal 8
ALTER TABLE node_field_data MODIFY title VARCHAR(500);
ALTER TABLE node_field_revision MODIFY title VARCHAR(500);