{"action":"created","issue":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/5484","labels_url":"https://api.github.com/repos/influxdata/influxdb/issues/5484/labels{/name}","comments_url":"https://api.github.com/repos/influxdata/influxdb/issues/5484/comments","events_url":"https://api.github.com/repos/influxdata/influxdb/issues/5484/events","html_url":"https://github.com/influxdata/influxdb/issues/5484","id":130062989,"number":5484,"title":"[0.9.6.1] CLI doesn't throw error on invalid USE command","user":{"login":"botmayank","id":5802226,"avatar_url":"https://avatars.githubusercontent.com/u/5802226?v=3","gravatar_id":"","url":"https://api.github.com/users/botmayank","html_url":"https://github.com/botmayank","followers_url":"https://api.github.com/users/botmayank/followers","following_url":"https://api.github.com/users/botmayank/following{/other_user}","gists_url":"https://api.github.com/users/botmayank/gists{/gist_id}","starred_url":"https://api.github.com/users/botmayank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/botmayank/subscriptions","organizations_url":"https://api.github.com/users/botmayank/orgs","repos_url":"https://api.github.com/users/botmayank/repos","events_url":"https://api.github.com/users/botmayank/events{/privacy}","received_events_url":"https://api.github.com/users/botmayank/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T01:52:12Z","updated_at":"2016-01-31T10:47:41Z","closed_at":"2016-01-31T10:47:41Z","body":"OS: Ubuntu 15.04 64 bit\r\nInstalled using pre built .deb package\r\n\r\nI just started with InfluxDB and I thought it's weird that the CLI says \"using database xyz\" on calling USE xyz even if xyz hasn't been created and only throws an error once you try to insert an entry into the database. I think reporting an error while calling USE might help prevent typos. "},"comment":{"url":"https://api.github.com/repos/influxdata/influxdb/issues/comments/177463491","html_url":"https://github.com/influxdata/influxdb/issues/5484#issuecomment-177463491","issue_url":"https://api.github.com/repos/influxdata/influxdb/issues/5484","id":177463491,"user":{"login":"toddboom","id":53132,"avatar_url":"https://avatars.githubusercontent.com/u/53132?v=3","gravatar_id":"","url":"https://api.github.com/users/toddboom","html_url":"https://github.com/toddboom","followers_url":"https://api.github.com/users/toddboom/followers","following_url":"https://api.github.com/users/toddboom/following{/other_user}","gists_url":"https://api.github.com/users/toddboom/gists{/gist_id}","starred_url":"https://api.github.com/users/toddboom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toddboom/subscriptions","organizations_url":"https://api.github.com/users/toddboom/orgs","repos_url":"https://api.github.com/users/toddboom/repos","events_url":"https://api.github.com/users/toddboom/events{/privacy}","received_events_url":"https://api.github.com/users/toddboom/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T10:47:41Z","updated_at":"2016-01-31T10:47:41Z","body":"I believe this was fixed with #5183."}}