strongloop-archive / strong-gateway-demo

DEPRECATED | Our new gateway product is available at https://github.com/strongloop/microgateway.
Other
35 stars 34 forks source link

`setup-db.js` error when using MySQL datasource for `auth-server` #3

Closed superkhau closed 9 years ago

superkhau commented 9 years ago
Auto-updating database: {"name":"db","connector":"mysql","host":"localhost","port":3306,"database":"strong-gateway-demo","username":"root","password":"","createDatabase":true,"debug":false,"collation":"utf8_general_ci","charset":"utf8","supportBigNumbers":false,"timezone":"local","connectionLimit":10}
## StrongLoop API Gateway is licensed from 2015-06-22T07:00:00.000Z to 2016-06-22T07:00:00.000Z.
## StrongLoop API Gateway is licensed from 2015-06-22T07:00:00.000Z to 2016-06-22T07:00:00.000Z.
Error in setting database: {"code":"ER_TOO_LONG_KEY","errno":1071,"sqlState":"42000","index":0}

@raymondfeng I remember you making changes to gateway to fix this error before. Did you push those changes? I'm using MySQL 5.6.25 FYI.

superkhau commented 9 years ago

This error appears to be fixed in the latest version of strong-gateway, closing.