{"action":"created","issue":{"url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/96","repository_url":"https://api.github.com/repos/sqlectron/sqlectron-gui","labels_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/96/comments","events_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/96/events","html_url":"https://github.com/sqlectron/sqlectron-gui/issues/96","id":141043538,"number":96,"title":"UI: Add connection requires DB when making a connection","user":{"login":"darkwisperer","id":740476,"avatar_url":"https://avatars.githubusercontent.com/u/740476?v=3","gravatar_id":"","url":"https://api.github.com/users/darkwisperer","html_url":"https://github.com/darkwisperer","followers_url":"https://api.github.com/users/darkwisperer/followers","following_url":"https://api.github.com/users/darkwisperer/following{/other_user}","gists_url":"https://api.github.com/users/darkwisperer/gists{/gist_id}","starred_url":"https://api.github.com/users/darkwisperer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkwisperer/subscriptions","organizations_url":"https://api.github.com/users/darkwisperer/orgs","repos_url":"https://api.github.com/users/darkwisperer/repos","events_url":"https://api.github.com/users/darkwisperer/events{/privacy}","received_events_url":"https://api.github.com/users/darkwisperer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sqlectron/sqlectron-gui/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-15T17:24:51Z","updated_at":"2016-04-06T12:43:24Z","closed_at":null,"body":"DB client: MSSQL, Mysql\r\nApp version: 1.5.0 \r\nOS: Win 7\r\n\r\nFor both MSSQL and MySQL (not familiar with Postgress), when adding a connection the DB field should be optional since the database is not required to make the connection. I'm not sure if this is doable with the [mssql](https://www.npmjs.com/package/mssql) package. I could not find in their README what parameters were mandatory and which were optional. I know if using SQL Server Management studio it is an optional item. With the [mysql](https://www.npmjs.com/package/mysql#connection-options) package it is an optional parameter.\r\nthe user can always add it later if that is their preference"},"comment":{"url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/comments/206352815","html_url":"https://github.com/sqlectron/sqlectron-gui/issues/96#issuecomment-206352815","issue_url":"https://api.github.com/repos/sqlectron/sqlectron-gui/issues/96","id":206352815,"user":{"login":"BornaP","id":8470710,"avatar_url":"https://avatars.githubusercontent.com/u/8470710?v=3","gravatar_id":"","url":"https://api.github.com/users/BornaP","html_url":"https://github.com/BornaP","followers_url":"https://api.github.com/users/BornaP/followers","following_url":"https://api.github.com/users/BornaP/following{/other_user}","gists_url":"https://api.github.com/users/BornaP/gists{/gist_id}","starred_url":"https://api.github.com/users/BornaP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BornaP/subscriptions","organizations_url":"https://api.github.com/users/BornaP/orgs","repos_url":"https://api.github.com/users/BornaP/repos","events_url":"https://api.github.com/users/BornaP/events{/privacy}","received_events_url":"https://api.github.com/users/BornaP/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T12:43:24Z","updated_at":"2016-04-06T12:43:24Z","body":"Yeah, that sounds great (removing database parameter from the route).\r\n\r\nRegarding second point I agree, maybe query-box should be hidden, but on the other hand user should be enabled to create/drop databases. Maybe it should be enabled through some menu or a button if there won't be any query-box until database is selected."}}