nlf/connect-mysql — pull request #13 by jeremiahlee (2013-11-16 23:28:51+00:00)
Title: Specified UTF-8 collation for sessions table

Fixes this error: "Error: ER_TOO_LONG_KEY: Specified key was too long; max key length is 767 bytes"

255 character ids do not fit within InnoDB's 767 bytes key limit if the database has a default collation of utf8mb4_general_ci (common for databases that support Emoji).