{"action":"created","issue":{"url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/339","labels_url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/339/comments","events_url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/339/events","html_url":"https://github.com/chef-cookbooks/mysql/issues/339","id":74355048,"number":339,"title":"Can't connect to mysql instance after mysql_service install","user":{"login":"daften","id":1221024,"avatar_url":"https://avatars.githubusercontent.com/u/1221024?v=3","gravatar_id":"","url":"https://api.github.com/users/daften","html_url":"https://github.com/daften","followers_url":"https://api.github.com/users/daften/followers","following_url":"https://api.github.com/users/daften/following{/other_user}","gists_url":"https://api.github.com/users/daften/gists{/gist_id}","starred_url":"https://api.github.com/users/daften/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daften/subscriptions","organizations_url":"https://api.github.com/users/daften/orgs","repos_url":"https://api.github.com/users/daften/repos","events_url":"https://api.github.com/users/daften/events{/privacy}","received_events_url":"https://api.github.com/users/daften/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chef-cookbooks/mysql/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"someara","id":69068,"avatar_url":"https://avatars.githubusercontent.com/u/69068?v=3","gravatar_id":"","url":"https://api.github.com/users/someara","html_url":"https://github.com/someara","followers_url":"https://api.github.com/users/someara/followers","following_url":"https://api.github.com/users/someara/following{/other_user}","gists_url":"https://api.github.com/users/someara/gists{/gist_id}","starred_url":"https://api.github.com/users/someara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someara/subscriptions","organizations_url":"https://api.github.com/users/someara/orgs","repos_url":"https://api.github.com/users/someara/repos","events_url":"https://api.github.com/users/someara/events{/privacy}","received_events_url":"https://api.github.com/users/someara/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-05-08T12:53:06Z","updated_at":"2015-06-14T23:28:44Z","closed_at":null,"body":"This statement in a recipe\r\n```\r\nmysql_service 'default' do\r\n  version '5.7'\r\n  bind_address '0.0.0.0'\r\n  port '3306'\r\n  initial_root_password 'test'\r\n  action [:create, :start]\r\nend\r\n```\r\n\r\nAnd then using \r\n```\r\nmysql -S /var/run/mysql-default/mysqld.sock -u root -p\r\n```\r\nwith password test, does not allow me access\r\n```\r\nERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)\r\n```"},"comment":{"url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/comments/111885260","html_url":"https://github.com/chef-cookbooks/mysql/issues/339#issuecomment-111885260","issue_url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/339","id":111885260,"user":{"login":"someara","id":69068,"avatar_url":"https://avatars.githubusercontent.com/u/69068?v=3","gravatar_id":"","url":"https://api.github.com/users/someara","html_url":"https://github.com/someara","followers_url":"https://api.github.com/users/someara/followers","following_url":"https://api.github.com/users/someara/following{/other_user}","gists_url":"https://api.github.com/users/someara/gists{/gist_id}","starred_url":"https://api.github.com/users/someara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someara/subscriptions","organizations_url":"https://api.github.com/users/someara/orgs","repos_url":"https://api.github.com/users/someara/repos","events_url":"https://api.github.com/users/someara/events{/privacy}","received_events_url":"https://api.github.com/users/someara/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T23:28:44Z","updated_at":"2015-06-14T23:28:44Z","body":"I think we need two separate rules... one for the TCP connection and one for the socket connection.\r\n\r\nGRANT ALL ON *.* TO 'root'@'127.0.0.1' WITH GRANT OPTION ;\r\nGRANT ALL ON *.* TO 'root'@'localhost' WITH GRANT OPTION ;\r\n\r\n"}}