{"action":"closed","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/10238","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/10238/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/10238/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/10238/events","html_url":"https://github.com/sequelize/sequelize/issues/10238","id":388207350,"node_id":"MDU6SXNzdWUzODgyMDczNTA=","number":10238,"title":"`ssl` of dialectOptions can not set true after mysql2 upgraded","user":{"login":"kunyan","id":752130,"node_id":"MDQ6VXNlcjc1MjEzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/752130?v=4","gravatar_id":"","url":"https://api.github.com/users/kunyan","html_url":"https://github.com/kunyan","followers_url":"https://api.github.com/users/kunyan/followers","following_url":"https://api.github.com/users/kunyan/following{/other_user}","gists_url":"https://api.github.com/users/kunyan/gists{/gist_id}","starred_url":"https://api.github.com/users/kunyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kunyan/subscriptions","organizations_url":"https://api.github.com/users/kunyan/orgs","repos_url":"https://api.github.com/users/kunyan/repos","events_url":"https://api.github.com/users/kunyan/events{/privacy}","received_events_url":"https://api.github.com/users/kunyan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-06T13:10:56Z","updated_at":"2018-12-09T07:48:58Z","closed_at":"2018-12-09T07:48:57Z","author_association":"NONE","body":"I had run a `yarn install` last week and got error \r\n\r\n```\r\nCannot create property 'rejectUnauthorized' on boolean 'true'\r\n```\r\n\r\nI found it is a `mysql2` bug. and create PR for it.\r\n\r\nHowever, according from https://github.com/sidorares/node-mysql2/pull/896#issuecomment-444851736, the `ssl` can not be set as `true`.\r\n\r\nthe latest `mysql2` has merged https://github.com/sidorares/node-mysql2/pull/895\r\nIt will throw a error if `ssl` been set to `true`.\r\n\r\n\r\nPls update the code and docs for mysql ssl connection\r\nsuch like \r\n\r\n- https://github.com/sequelize/sequelize/blob/master/test/unit/configuration.test.js#L162\r\n- https://github.com/sequelize/sequelize/blob/master/docs/migrations.md#connecting-over-ssl"}}
{"actor":{"display_login":"sushantdhiman"}}