{"action":"created","issue":{"url":"https://api.github.com/repos/sysown/proxysql/issues/1338","repository_url":"https://api.github.com/repos/sysown/proxysql","labels_url":"https://api.github.com/repos/sysown/proxysql/issues/1338/labels{/name}","comments_url":"https://api.github.com/repos/sysown/proxysql/issues/1338/comments","events_url":"https://api.github.com/repos/sysown/proxysql/issues/1338/events","html_url":"https://github.com/sysown/proxysql/issues/1338","id":289499457,"number":1338,"title":"If node.js can connect mysql per proxysql.","user":{"login":"mayrazhao","id":35551254,"avatar_url":"https://avatars1.githubusercontent.com/u/35551254?v=4","gravatar_id":"","url":"https://api.github.com/users/mayrazhao","html_url":"https://github.com/mayrazhao","followers_url":"https://api.github.com/users/mayrazhao/followers","following_url":"https://api.github.com/users/mayrazhao/following{/other_user}","gists_url":"https://api.github.com/users/mayrazhao/gists{/gist_id}","starred_url":"https://api.github.com/users/mayrazhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayrazhao/subscriptions","organizations_url":"https://api.github.com/users/mayrazhao/orgs","repos_url":"https://api.github.com/users/mayrazhao/repos","events_url":"https://api.github.com/users/mayrazhao/events{/privacy}","received_events_url":"https://api.github.com/users/mayrazhao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-18T04:16:20Z","updated_at":"2018-05-17T21:34:29Z","closed_at":null,"author_association":"NONE","body":"proxysql version is 1.3.9.\r\nnode.js version is 8.9.1\r\n\r\nNode.js can directly connect mysql but can't connect mysql per proxysql. And we are using Sequelize as ORM framework.\r\n\r\nCode :\r\n\r\n```\r\nconst Sequelize = require('sequelize');\r\nconst sequelize = new Sequelize('mysql://*****@localhost:6033/test');\r\nsequelize\r\n .authenticate()\r\n .then(() => {\r\n   console.log('Connection has been established successfully.');\r\n })\r\n .catch(err => {\r\n   console.error('Unable to connect to the database:', err);\r\n });\r\n```\r\nThe return information is try{} catch{} try{} catch{}……\r\n\r\nIf proxysql provide driver for node.js\r\n"},"comment":{"url":"https://api.github.com/repos/sysown/proxysql/issues/comments/390019778","html_url":"https://github.com/sysown/proxysql/issues/1338#issuecomment-390019778","issue_url":"https://api.github.com/repos/sysown/proxysql/issues/1338","id":390019778,"user":{"login":"pondix","id":6354634,"avatar_url":"https://avatars2.githubusercontent.com/u/6354634?v=4","gravatar_id":"","url":"https://api.github.com/users/pondix","html_url":"https://github.com/pondix","followers_url":"https://api.github.com/users/pondix/followers","following_url":"https://api.github.com/users/pondix/following{/other_user}","gists_url":"https://api.github.com/users/pondix/gists{/gist_id}","starred_url":"https://api.github.com/users/pondix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pondix/subscriptions","organizations_url":"https://api.github.com/users/pondix/orgs","repos_url":"https://api.github.com/users/pondix/repos","events_url":"https://api.github.com/users/pondix/events{/privacy}","received_events_url":"https://api.github.com/users/pondix/received_events","type":"User","site_admin":false},"created_at":"2018-05-17T21:34:28Z","updated_at":"2018-05-17T21:34:28Z","author_association":"CONTRIBUTOR","body":"Hi @VarunBatraIT \r\n\r\nI will try reproduce tomorrow and look into fixes if required.\r\n\r\nThanks for the detailed report.\r\n\r\nNick"}}
{"actor":{"display_login":"pondix"}}