{"action":"created","comment":{"url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/comments/31665382","id":31665382,"diff_hunk":"@@ -123,6 +123,16 @@ Default:        false\n `allowAllFiles=true` disables the file Whitelist for `LOAD DATA LOCAL INFILE` and allows *all* files.\n [*Might be insecure!*](http://dev.mysql.com/doc/refman/5.7/en/load-data-local.html)\n \n+##### `allowCleartextPasswords`\n+\n+```\n+Type:           bool\n+Valid Values:   true, false\n+Default:        false\n+```\n+\n+`allowCleartextPasswords=true` allows using the [cleartext client side plugin](http://dev.mysql.com/doc/en/cleartext-authentication-plugin.html) if required by an account, such as one defined with the [PAM authentication plugin](http://dev.mysql.com/doc/en/pam-authentication-plugin.html). Sending passwords in clear text may be a security problem in some configurations. To avoid problems if there is any possibility that the password would be intercepted, clients should connect to MySQL Server using a method that protects the password. Possibilities include [TLS / SSL] (http://dev.mysql.com/doc/en/ssl-connections.html#tls), IPsec, or a private network.","path":"README.md","position":12,"original_position":12,"commit_id":"8136b444d616630e95b74fdccc649be33fd69b13","original_commit_id":"8136b444d616630e95b74fdccc649be33fd69b13","user":{"login":"julienschmidt","id":944947,"avatar_url":"https://avatars.githubusercontent.com/u/944947?v=3","gravatar_id":"","url":"https://api.github.com/users/julienschmidt","html_url":"https://github.com/julienschmidt","followers_url":"https://api.github.com/users/julienschmidt/followers","following_url":"https://api.github.com/users/julienschmidt/following{/other_user}","gists_url":"https://api.github.com/users/julienschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/julienschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienschmidt/subscriptions","organizations_url":"https://api.github.com/users/julienschmidt/orgs","repos_url":"https://api.github.com/users/julienschmidt/repos","events_url":"https://api.github.com/users/julienschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/julienschmidt/received_events","type":"User","site_admin":false},"body":"I meant `[TLS / SSL] (#tls)`, so an anchor in the README.md :wink: \r\nBut I'll change that after the merge.","created_at":"2015-06-03T20:20:40Z","updated_at":"2015-06-03T20:20:40Z","html_url":"https://github.com/go-sql-driver/mysql/pull/327#discussion_r31665382","pull_request_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327","_links":{"self":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/comments/31665382"},"html":{"href":"https://github.com/go-sql-driver/mysql/pull/327#discussion_r31665382"},"pull_request":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327"}}},"pull_request":{"url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327","id":32676219,"html_url":"https://github.com/go-sql-driver/mysql/pull/327","diff_url":"https://github.com/go-sql-driver/mysql/pull/327.diff","patch_url":"https://github.com/go-sql-driver/mysql/pull/327.patch","issue_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/327","number":327,"state":"open","locked":false,"title":"Cleartext authentication plugin support","user":{"login":"joshuaprunier","id":4297988,"avatar_url":"https://avatars.githubusercontent.com/u/4297988?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuaprunier","html_url":"https://github.com/joshuaprunier","followers_url":"https://api.github.com/users/joshuaprunier/followers","following_url":"https://api.github.com/users/joshuaprunier/following{/other_user}","gists_url":"https://api.github.com/users/joshuaprunier/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuaprunier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuaprunier/subscriptions","organizations_url":"https://api.github.com/users/joshuaprunier/orgs","repos_url":"https://api.github.com/users/joshuaprunier/repos","events_url":"https://api.github.com/users/joshuaprunier/events{/privacy}","received_events_url":"https://api.github.com/users/joshuaprunier/received_events","type":"User","site_admin":false},"body":"Includes a new \"allowClearPasswords\" parameter. I have tested the changes with native, old and PAM authenticated accounts against Percona Server versions 5.1.73-14.12, 5.5.42-37.1 and 5.6.23-72.1","created_at":"2015-04-06T12:39:35Z","updated_at":"2015-06-03T20:20:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3eb24df7850a9cc07089f3874b042cf2b3c91385","assignee":{"login":"julienschmidt","id":944947,"avatar_url":"https://avatars.githubusercontent.com/u/944947?v=3","gravatar_id":"","url":"https://api.github.com/users/julienschmidt","html_url":"https://github.com/julienschmidt","followers_url":"https://api.github.com/users/julienschmidt/followers","following_url":"https://api.github.com/users/julienschmidt/following{/other_user}","gists_url":"https://api.github.com/users/julienschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/julienschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienschmidt/subscriptions","organizations_url":"https://api.github.com/users/julienschmidt/orgs","repos_url":"https://api.github.com/users/julienschmidt/repos","events_url":"https://api.github.com/users/julienschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/julienschmidt/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/go-sql-driver/mysql/milestones/7","html_url":"https://github.com/go-sql-driver/mysql/milestones/v1.3","labels_url":"https://api.github.com/repos/go-sql-driver/mysql/milestones/7/labels","id":616976,"number":7,"title":"v1.3","description":"","creator":{"login":"julienschmidt","id":944947,"avatar_url":"https://avatars.githubusercontent.com/u/944947?v=3","gravatar_id":"","url":"https://api.github.com/users/julienschmidt","html_url":"https://github.com/julienschmidt","followers_url":"https://api.github.com/users/julienschmidt/followers","following_url":"https://api.github.com/users/julienschmidt/following{/other_user}","gists_url":"https://api.github.com/users/julienschmidt/gists{/gist_id}","starred_url":"https://api.github.com/users/julienschmidt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienschmidt/subscriptions","organizations_url":"https://api.github.com/users/julienschmidt/orgs","repos_url":"https://api.github.com/users/julienschmidt/repos","events_url":"https://api.github.com/users/julienschmidt/events{/privacy}","received_events_url":"https://api.github.com/users/julienschmidt/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":22,"state":"open","created_at":"2014-04-01T16:31:08Z","updated_at":"2015-05-30T02:05:53Z","due_on":"2015-06-30T22:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327/commits","review_comments_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327/comments","review_comment_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/327/comments","statuses_url":"https://api.github.com/repos/go-sql-driver/mysql/statuses/8136b444d616630e95b74fdccc649be33fd69b13","head":{"label":"joshuaprunier:master","ref":"master","sha":"8136b444d616630e95b74fdccc649be33fd69b13","user":{"login":"joshuaprunier","id":4297988,"avatar_url":"https://avatars.githubusercontent.com/u/4297988?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuaprunier","html_url":"https://github.com/joshuaprunier","followers_url":"https://api.github.com/users/joshuaprunier/followers","following_url":"https://api.github.com/users/joshuaprunier/following{/other_user}","gists_url":"https://api.github.com/users/joshuaprunier/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuaprunier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuaprunier/subscriptions","organizations_url":"https://api.github.com/users/joshuaprunier/orgs","repos_url":"https://api.github.com/users/joshuaprunier/repos","events_url":"https://api.github.com/users/joshuaprunier/events{/privacy}","received_events_url":"https://api.github.com/users/joshuaprunier/received_events","type":"User","site_admin":false},"repo":{"id":33477633,"name":"mysql","full_name":"joshuaprunier/mysql","owner":{"login":"joshuaprunier","id":4297988,"avatar_url":"https://avatars.githubusercontent.com/u/4297988?v=3","gravatar_id":"","url":"https://api.github.com/users/joshuaprunier","html_url":"https://github.com/joshuaprunier","followers_url":"https://api.github.com/users/joshuaprunier/followers","following_url":"https://api.github.com/users/joshuaprunier/following{/other_user}","gists_url":"https://api.github.com/users/joshuaprunier/gists{/gist_id}","starred_url":"https://api.github.com/users/joshuaprunier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshuaprunier/subscriptions","organizations_url":"https://api.github.com/users/joshuaprunier/orgs","repos_url":"https://api.github.com/users/joshuaprunier/repos","events_url":"https://api.github.com/users/joshuaprunier/events{/privacy}","received_events_url":"https://api.github.com/users/joshuaprunier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joshuaprunier/mysql","description":"Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's (golang) database/sql package","fork":true,"url":"https://api.github.com/repos/joshuaprunier/mysql","forks_url":"https://api.github.com/repos/joshuaprunier/mysql/forks","keys_url":"https://api.github.com/repos/joshuaprunier/mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joshuaprunier/mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joshuaprunier/mysql/teams","hooks_url":"https://api.github.com/repos/joshuaprunier/mysql/hooks","issue_events_url":"https://api.github.com/repos/joshuaprunier/mysql/issues/events{/number}","events_url":"https://api.github.com/repos/joshuaprunier/mysql/events","assignees_url":"https://api.github.com/repos/joshuaprunier/mysql/assignees{/user}","branches_url":"https://api.github.com/repos/joshuaprunier/mysql/branches{/branch}","tags_url":"https://api.github.com/repos/joshuaprunier/mysql/tags","blobs_url":"https://api.github.com/repos/joshuaprunier/mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joshuaprunier/mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joshuaprunier/mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/joshuaprunier/mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joshuaprunier/mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/joshuaprunier/mysql/languages","stargazers_url":"https://api.github.com/repos/joshuaprunier/mysql/stargazers","contributors_url":"https://api.github.com/repos/joshuaprunier/mysql/contributors","subscribers_url":"https://api.github.com/repos/joshuaprunier/mysql/subscribers","subscription_url":"https://api.github.com/repos/joshuaprunier/mysql/subscription","commits_url":"https://api.github.com/repos/joshuaprunier/mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/joshuaprunier/mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/joshuaprunier/mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/joshuaprunier/mysql/issues/comments{/number}","contents_url":"https://api.github.com/repos/joshuaprunier/mysql/contents/{+path}","compare_url":"https://api.github.com/repos/joshuaprunier/mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joshuaprunier/mysql/merges","archive_url":"https://api.github.com/repos/joshuaprunier/mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joshuaprunier/mysql/downloads","issues_url":"https://api.github.com/repos/joshuaprunier/mysql/issues{/number}","pulls_url":"https://api.github.com/repos/joshuaprunier/mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/joshuaprunier/mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/joshuaprunier/mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joshuaprunier/mysql/labels{/name}","releases_url":"https://api.github.com/repos/joshuaprunier/mysql/releases{/id}","created_at":"2015-04-06T10:49:45Z","updated_at":"2015-05-03T03:42:53Z","pushed_at":"2015-06-01T05:38:41Z","git_url":"git://github.com/joshuaprunier/mysql.git","ssh_url":"git@github.com:joshuaprunier/mysql.git","clone_url":"https://github.com/joshuaprunier/mysql.git","svn_url":"https://github.com/joshuaprunier/mysql","homepage":"http://godoc.org/github.com/go-sql-driver/mysql","size":755,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"go-sql-driver:master","ref":"master","sha":"0cc29e9fe8e25c2c58cf47bcab566e029bbaa88b","user":{"login":"go-sql-driver","id":3002971,"avatar_url":"https://avatars.githubusercontent.com/u/3002971?v=3","gravatar_id":"","url":"https://api.github.com/users/go-sql-driver","html_url":"https://github.com/go-sql-driver","followers_url":"https://api.github.com/users/go-sql-driver/followers","following_url":"https://api.github.com/users/go-sql-driver/following{/other_user}","gists_url":"https://api.github.com/users/go-sql-driver/gists{/gist_id}","starred_url":"https://api.github.com/users/go-sql-driver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-sql-driver/subscriptions","organizations_url":"https://api.github.com/users/go-sql-driver/orgs","repos_url":"https://api.github.com/users/go-sql-driver/repos","events_url":"https://api.github.com/users/go-sql-driver/events{/privacy}","received_events_url":"https://api.github.com/users/go-sql-driver/received_events","type":"Organization","site_admin":false},"repo":{"id":7083242,"name":"mysql","full_name":"go-sql-driver/mysql","owner":{"login":"go-sql-driver","id":3002971,"avatar_url":"https://avatars.githubusercontent.com/u/3002971?v=3","gravatar_id":"","url":"https://api.github.com/users/go-sql-driver","html_url":"https://github.com/go-sql-driver","followers_url":"https://api.github.com/users/go-sql-driver/followers","following_url":"https://api.github.com/users/go-sql-driver/following{/other_user}","gists_url":"https://api.github.com/users/go-sql-driver/gists{/gist_id}","starred_url":"https://api.github.com/users/go-sql-driver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-sql-driver/subscriptions","organizations_url":"https://api.github.com/users/go-sql-driver/orgs","repos_url":"https://api.github.com/users/go-sql-driver/repos","events_url":"https://api.github.com/users/go-sql-driver/events{/privacy}","received_events_url":"https://api.github.com/users/go-sql-driver/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-sql-driver/mysql","description":"Go-MySQL-Driver is a lightweight and fast MySQL-Driver for Go's (golang) database/sql package","fork":false,"url":"https://api.github.com/repos/go-sql-driver/mysql","forks_url":"https://api.github.com/repos/go-sql-driver/mysql/forks","keys_url":"https://api.github.com/repos/go-sql-driver/mysql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-sql-driver/mysql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-sql-driver/mysql/teams","hooks_url":"https://api.github.com/repos/go-sql-driver/mysql/hooks","issue_events_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/events{/number}","events_url":"https://api.github.com/repos/go-sql-driver/mysql/events","assignees_url":"https://api.github.com/repos/go-sql-driver/mysql/assignees{/user}","branches_url":"https://api.github.com/repos/go-sql-driver/mysql/branches{/branch}","tags_url":"https://api.github.com/repos/go-sql-driver/mysql/tags","blobs_url":"https://api.github.com/repos/go-sql-driver/mysql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-sql-driver/mysql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-sql-driver/mysql/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-sql-driver/mysql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-sql-driver/mysql/statuses/{sha}","languages_url":"https://api.github.com/repos/go-sql-driver/mysql/languages","stargazers_url":"https://api.github.com/repos/go-sql-driver/mysql/stargazers","contributors_url":"https://api.github.com/repos/go-sql-driver/mysql/contributors","subscribers_url":"https://api.github.com/repos/go-sql-driver/mysql/subscribers","subscription_url":"https://api.github.com/repos/go-sql-driver/mysql/subscription","commits_url":"https://api.github.com/repos/go-sql-driver/mysql/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-sql-driver/mysql/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-sql-driver/mysql/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-sql-driver/mysql/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-sql-driver/mysql/contents/{+path}","compare_url":"https://api.github.com/repos/go-sql-driver/mysql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-sql-driver/mysql/merges","archive_url":"https://api.github.com/repos/go-sql-driver/mysql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-sql-driver/mysql/downloads","issues_url":"https://api.github.com/repos/go-sql-driver/mysql/issues{/number}","pulls_url":"https://api.github.com/repos/go-sql-driver/mysql/pulls{/number}","milestones_url":"https://api.github.com/repos/go-sql-driver/mysql/milestones{/number}","notifications_url":"https://api.github.com/repos/go-sql-driver/mysql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-sql-driver/mysql/labels{/name}","releases_url":"https://api.github.com/repos/go-sql-driver/mysql/releases{/id}","created_at":"2012-12-09T20:33:55Z","updated_at":"2015-06-03T05:30:49Z","pushed_at":"2015-06-01T05:38:42Z","git_url":"git://github.com/go-sql-driver/mysql.git","ssh_url":"git@github.com:go-sql-driver/mysql.git","clone_url":"https://github.com/go-sql-driver/mysql.git","svn_url":"https://github.com/go-sql-driver/mysql","homepage":"http://godoc.org/github.com/go-sql-driver/mysql","size":3086,"stargazers_count":1456,"watchers_count":1456,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":333,"mirror_url":null,"open_issues_count":20,"forks":333,"open_issues":20,"watchers":1456,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327"},"html":{"href":"https://github.com/go-sql-driver/mysql/pull/327"},"issue":{"href":"https://api.github.com/repos/go-sql-driver/mysql/issues/327"},"comments":{"href":"https://api.github.com/repos/go-sql-driver/mysql/issues/327/comments"},"review_comments":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327/comments"},"review_comment":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-sql-driver/mysql/pulls/327/commits"},"statuses":{"href":"https://api.github.com/repos/go-sql-driver/mysql/statuses/8136b444d616630e95b74fdccc649be33fd69b13"}}}}