After increasing the database configuration initconnect = 'set names utf8mb4' is still being given, because
Each source in the database based on the acquired determination information, perform set names utf8;
Reference mysql official documentation, an upgraded version of the solution:
After the upgrade, test uncommon words associated multi-table query, are no longer being given;
After resolving, modify the character set, all the parts table columns combined length exceeds 65535 bytes, also given:
Utf8 is because a general character takes 3 bytes, utf8mb4 a character occupies 4 bytes, so will this happen.
Generally only the reduced length field, the length field is always maintained within 16 383; (does not include the length field of type text and longtext);
You can query the information library, which is a modified table statistics characters long
Table columns can also query information database, which is a summary of what is utf8mb4 utf8 character set; etc.