{"action":"created","issue":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/426","labels_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/426/comments","events_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/426/events","html_url":"https://github.com/wp-cli/wp-cli/issues/426","id":13740933,"number":426,"title":"wp db create seems like it will never work","user":{"login":"davidfavor","id":87222,"avatar_url":"https://avatars.githubusercontent.com/u/87222?v=3","gravatar_id":"","url":"https://api.github.com/users/davidfavor","html_url":"https://github.com/davidfavor","followers_url":"https://api.github.com/users/davidfavor/followers","following_url":"https://api.github.com/users/davidfavor/following{/other_user}","gists_url":"https://api.github.com/users/davidfavor/gists{/gist_id}","starred_url":"https://api.github.com/users/davidfavor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidfavor/subscriptions","organizations_url":"https://api.github.com/users/davidfavor/orgs","repos_url":"https://api.github.com/users/davidfavor/repos","events_url":"https://api.github.com/users/davidfavor/events{/privacy}","received_events_url":"https://api.github.com/users/davidfavor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wp-cli/wp-cli/labels/scope:command","name":"scope:command","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-04-28T21:27:15Z","updated_at":"2015-02-27T22:47:57Z","closed_at":null,"body":"To create a database requires a user with sufficient privileges to create the database.\r\n\r\nFor example, on Debian + Ubuntu a root user cnf file is used to automate scripts, so it seems like the 'wp db create' must do two things...\r\n\r\n1) pass the root user + pass (different from wp-config user + pass)\r\n\r\n2) no user + pass specified, see if a file like /etc/mysql/debian.cnf exists, then use it\r\n\r\n3) else die with error"},"comment":{"url":"https://api.github.com/repos/wp-cli/wp-cli/issues/comments/76487220","html_url":"https://github.com/wp-cli/wp-cli/issues/426#issuecomment-76487220","issue_url":"https://api.github.com/repos/wp-cli/wp-cli/issues/426","id":76487220,"user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T22:47:57Z","updated_at":"2015-02-27T22:47:57Z","body":"Happy to include smarter behavior if someone wants to put together a pull request"}}