{"action":"opened","issue":{"url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/390","labels_url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/390/labels{/name}","comments_url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/390/comments","events_url":"https://api.github.com/repos/chef-cookbooks/mysql/issues/390/events","html_url":"https://github.com/chef-cookbooks/mysql/issues/390","id":117013093,"number":390,"title":"Issues with special chars in initial_root_password","user":{"login":"alexandrezia","id":1100327,"avatar_url":"https://avatars.githubusercontent.com/u/1100327?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandrezia","html_url":"https://github.com/alexandrezia","followers_url":"https://api.github.com/users/alexandrezia/followers","following_url":"https://api.github.com/users/alexandrezia/following{/other_user}","gists_url":"https://api.github.com/users/alexandrezia/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandrezia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandrezia/subscriptions","organizations_url":"https://api.github.com/users/alexandrezia/orgs","repos_url":"https://api.github.com/users/alexandrezia/repos","events_url":"https://api.github.com/users/alexandrezia/events{/privacy}","received_events_url":"https://api.github.com/users/alexandrezia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-15T19:44:15Z","updated_at":"2015-11-15T19:44:15Z","closed_at":null,"body":"I'm using a strong initial_root_password which contains several special chars like:   ^*[+ etc. , and this line:\r\nhttps://github.com/chef-cookbooks/mysql/blob/master/libraries/helpers.rb#L124\r\nIs completely ruining the password, as it is escaping all special chars for use in a shell, but it is used in a mysql function PASSWORD() not in a shell.\r\nSo, If I change this line from:\r\n```\r\nShellwords.escape(new_resource.initial_root_password)\r\n```\r\nTo:\r\n```\r\nnew_resource.initial_root_password\r\n```\r\nIt works as expected.\r\nSo please, remove ```Shellwords.escape``` from the initial password, so we can use strong passwords with special chars.\r\nThanks"}}