CSWeb SQLSTATE[42000] Specified key was too long
Posted: April 16th, 2018, 6:48 pm
Hello,
while trying to upload a dictionary to the web app, I get an error. By looking at the logs I see this error message.
[2018-04-16 15:32:28] CSPro API.CRITICAL: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (uncaught exception) at /home/mkaconsu/public_html/csweb/vendor/aura/sql/src/ExtendedPdo.php line 288 {"exception":"[object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes at /home/mkaconsu/public_html/csweb/vendor/aura/sql/src/ExtendedPdo.php:288)"} []
Any ideas how I could solve it?
Thanks in advance
while trying to upload a dictionary to the web app, I get an error. By looking at the logs I see this error message.
[2018-04-16 15:32:28] CSPro API.CRITICAL: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (uncaught exception) at /home/mkaconsu/public_html/csweb/vendor/aura/sql/src/ExtendedPdo.php line 288 {"exception":"[object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes at /home/mkaconsu/public_html/csweb/vendor/aura/sql/src/ExtendedPdo.php:288)"} []
Any ideas how I could solve it?
Thanks in advance