{"action":"created","issue":{"url":"https://api.github.com/repos/balabit/syslog-ng/issues/1013","repository_url":"https://api.github.com/repos/balabit/syslog-ng","labels_url":"https://api.github.com/repos/balabit/syslog-ng/issues/1013/labels{/name}","comments_url":"https://api.github.com/repos/balabit/syslog-ng/issues/1013/comments","events_url":"https://api.github.com/repos/balabit/syslog-ng/issues/1013/events","html_url":"https://github.com/balabit/syslog-ng/issues/1013","id":146570431,"number":1013,"title":"MS SQL destination ignores database name","user":{"login":"derbycollege","id":8917292,"avatar_url":"https://avatars.githubusercontent.com/u/8917292?v=3","gravatar_id":"","url":"https://api.github.com/users/derbycollege","html_url":"https://github.com/derbycollege","followers_url":"https://api.github.com/users/derbycollege/followers","following_url":"https://api.github.com/users/derbycollege/following{/other_user}","gists_url":"https://api.github.com/users/derbycollege/gists{/gist_id}","starred_url":"https://api.github.com/users/derbycollege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derbycollege/subscriptions","organizations_url":"https://api.github.com/users/derbycollege/orgs","repos_url":"https://api.github.com/users/derbycollege/repos","events_url":"https://api.github.com/users/derbycollege/events{/privacy}","received_events_url":"https://api.github.com/users/derbycollege/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-07T10:10:16Z","updated_at":"2016-04-11T08:01:32Z","closed_at":null,"body":"syslog-ng always writes to the default database, ignoring any database set in the conf file.\r\n\r\nWhilst this can be worked around by setting a default database for a SQL user or by referencing the database name in the table name, neither of these work for Azure SQL as default databases and referencing database names in queries are unsupported."},"comment":{"url":"https://api.github.com/repos/balabit/syslog-ng/issues/comments/208214285","html_url":"https://github.com/balabit/syslog-ng/issues/1013#issuecomment-208214285","issue_url":"https://api.github.com/repos/balabit/syslog-ng/issues/1013","id":208214285,"user":{"login":"juhaszviktor","id":2157202,"avatar_url":"https://avatars.githubusercontent.com/u/2157202?v=3","gravatar_id":"","url":"https://api.github.com/users/juhaszviktor","html_url":"https://github.com/juhaszviktor","followers_url":"https://api.github.com/users/juhaszviktor/followers","following_url":"https://api.github.com/users/juhaszviktor/following{/other_user}","gists_url":"https://api.github.com/users/juhaszviktor/gists{/gist_id}","starred_url":"https://api.github.com/users/juhaszviktor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juhaszviktor/subscriptions","organizations_url":"https://api.github.com/users/juhaszviktor/orgs","repos_url":"https://api.github.com/users/juhaszviktor/repos","events_url":"https://api.github.com/users/juhaszviktor/events{/privacy}","received_events_url":"https://api.github.com/users/juhaszviktor/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T08:01:32Z","updated_at":"2016-04-11T08:01:32Z","body":"Hello,\n\nI'm afraid, that the bug is in the libdbi-driver's (freetds) side.\nThe problem is that the connect method does not select the database.\n\nIf you want we have a patch for it.\n\nBest Regards,\nViktor\n\nOn Thu, Apr 7, 2016 at 4:09 PM, derbycollege <notifications@github.com>\nwrote:\n\n> Installer-Version: 3.7.3\n> Revision: 3.7.3-3\n> Compile-Date: Mar 23 2016 14:48:46\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/balabit/syslog-ng/issues/1013#issuecomment-206923705>\n>\n"}}