{"action":"opened","issue":{"url":"https://api.github.com/repos/hanami/model/issues/326","repository_url":"https://api.github.com/repos/hanami/model","labels_url":"https://api.github.com/repos/hanami/model/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/hanami/model/issues/326/comments","events_url":"https://api.github.com/repos/hanami/model/issues/326/events","html_url":"https://github.com/hanami/model/issues/326","id":163548639,"number":326,"title":"database username and password","user":{"login":"wendy0402","id":4647969,"avatar_url":"https://avatars.githubusercontent.com/u/4647969?v=3","gravatar_id":"","url":"https://api.github.com/users/wendy0402","html_url":"https://github.com/wendy0402","followers_url":"https://api.github.com/users/wendy0402/followers","following_url":"https://api.github.com/users/wendy0402/following{/other_user}","gists_url":"https://api.github.com/users/wendy0402/gists{/gist_id}","starred_url":"https://api.github.com/users/wendy0402/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wendy0402/subscriptions","organizations_url":"https://api.github.com/users/wendy0402/orgs","repos_url":"https://api.github.com/users/wendy0402/repos","events_url":"https://api.github.com/users/wendy0402/events{/privacy}","received_events_url":"https://api.github.com/users/wendy0402/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-03T05:40:26Z","updated_at":"2016-07-03T05:40:26Z","closed_at":null,"body":"Hi guys, currently I am playing around with hanami. It seems interesting, however since coming from rails background and use sql adapter for hanami. At first glance, I confused how to put username and password since the config example only show uri without username and password, such as:\r\n```\r\nadapter type: :sql, uri: mysql2://localhost/bodyguard2_development\r\n```\r\n\r\nmy suggestion, It'll be better if you explicitly tell how to add database username and password like this:\r\n\r\n```\r\nadapter type: :sql, uri: mysql2://username:password@localhost:3306/bodyguard2_development\r\n```\r\n\r\nby doing so, it'll be easy for newcomers to catch up\r\n\r\nthanks"}}
{"actor":{"display_login":"wendy0402"}}