{"action":"created","issue":{"url":"https://api.github.com/repos/w1nk/node-odbc/issues/97","repository_url":"https://api.github.com/repos/w1nk/node-odbc","labels_url":"https://api.github.com/repos/w1nk/node-odbc/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/w1nk/node-odbc/issues/97/comments","events_url":"https://api.github.com/repos/w1nk/node-odbc/issues/97/events","html_url":"https://github.com/w1nk/node-odbc/issues/97","id":107682630,"node_id":"MDU6SXNzdWUxMDc2ODI2MzA=","number":97,"title":"Data source name not found and no default driver ","user":{"login":"bgobi1991","id":9972138,"node_id":"MDQ6VXNlcjk5NzIxMzg=","avatar_url":"https://avatars3.githubusercontent.com/u/9972138?v=4","gravatar_id":"","url":"https://api.github.com/users/bgobi1991","html_url":"https://github.com/bgobi1991","followers_url":"https://api.github.com/users/bgobi1991/followers","following_url":"https://api.github.com/users/bgobi1991/following{/other_user}","gists_url":"https://api.github.com/users/bgobi1991/gists{/gist_id}","starred_url":"https://api.github.com/users/bgobi1991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgobi1991/subscriptions","organizations_url":"https://api.github.com/users/bgobi1991/orgs","repos_url":"https://api.github.com/users/bgobi1991/repos","events_url":"https://api.github.com/users/bgobi1991/events{/privacy}","received_events_url":"https://api.github.com/users/bgobi1991/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2015-09-22T10:09:21Z","updated_at":"2018-06-22T13:07:54Z","closed_at":null,"author_association":"NONE","body":"Hi Team,\n\nI got the error when connect the db. Please solve the issue\n{ [Error: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified]\n  errors:\n   [ { message: '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified',\n       state: 'IM002' } ],\n  error: '[node-odbc] SQL_ERROR',\n  message: '[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified',\n  state: 'IM002' }\n"},"comment":{"url":"https://api.github.com/repos/w1nk/node-odbc/issues/comments/399436499","html_url":"https://github.com/w1nk/node-odbc/issues/97#issuecomment-399436499","issue_url":"https://api.github.com/repos/w1nk/node-odbc/issues/97","id":399436499,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTQzNjQ5OQ==","user":{"login":"wankdanker","id":624233,"node_id":"MDQ6VXNlcjYyNDIzMw==","avatar_url":"https://avatars3.githubusercontent.com/u/624233?v=4","gravatar_id":"","url":"https://api.github.com/users/wankdanker","html_url":"https://github.com/wankdanker","followers_url":"https://api.github.com/users/wankdanker/followers","following_url":"https://api.github.com/users/wankdanker/following{/other_user}","gists_url":"https://api.github.com/users/wankdanker/gists{/gist_id}","starred_url":"https://api.github.com/users/wankdanker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wankdanker/subscriptions","organizations_url":"https://api.github.com/users/wankdanker/orgs","repos_url":"https://api.github.com/users/wankdanker/repos","events_url":"https://api.github.com/users/wankdanker/events{/privacy}","received_events_url":"https://api.github.com/users/wankdanker/received_events","type":"User","site_admin":false},"created_at":"2018-06-22T13:07:54Z","updated_at":"2018-06-22T13:07:54Z","author_association":"COLLABORATOR","body":"@arunrout The module you are requiring (msnodesqlv8) is a different module than this (odbc). If you were using odbc your code should look something like:\r\n\r\n```js\r\nconst db = require('odbc')()\r\nconst connectionString = \"server=CIMPLICITY;Database=CIMPLICITY;Trusted_Connection=Yes;Driver={SQL Server Native Client 11.0}\";\r\n\r\ndb.open(connectionString, (err) => {\r\n  if (err) {\r\n    throw err;\r\n  }\r\n\r\n  db.query('SELECT * FROM INDUS1', (err, rows) => {\r\n    if (err) {\r\n      throw err;\r\n    }\r\n\r\n    console.log(rows);\r\n  });\r\n});"}}
{"actor":{"display_login":"wankdanker"}}