{"id":755,"date":"2021-01-18T09:20:47","date_gmt":"2021-01-18T01:20:47","guid":{"rendered":"https:\/\/www.shineskr.com\/?p=755"},"modified":"2021-01-18T10:28:30","modified_gmt":"2021-01-18T02:28:30","slug":"mysql%e6%93%8d%e4%bd%9c%e6%8a%a5you-do-not-have-the-super-privilege-%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.shineskr.com\/755.html","title":{"rendered":"mysql\u64cd\u4f5c\u62a5You do not have the SUPER privilege&#8230;.\u7684\u89e3\u51b3\u65b9\u6cd5"},"content":{"rendered":"\n<p> \u5728mysql\u4e0a\u6267\u884c\u90e8\u5206\u64cd\u4f5c\u65f6\u4f1a\u62a5\u5982\u4e0b\u9519\u8bef\uff0c\u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"399\" height=\"238\" src=\"https:\/\/www.shineskr.com\/wp-content\/uploads\/\/2021\/01\/image-3.png\" alt=\"\" class=\"wp-image-761\" alt=\"mysql\u64cd\u4f5c\u62a5You do not have the SUPER privilege....\u7684\u89e3\u51b3\u65b9\u6cd5 linux\u6559\u7a0b \u7b2c1\u5f20\" title=\"mysql\u64cd\u4f5c\u62a5You do not have the SUPER privilege....\u7684\u89e3\u51b3\u65b9\u6cd5 linux\u6559\u7a0b \u7b2c1\u5f20-\u6211\u7684\u6298\u817e\u65e5\u8bb0\" ><\/figure>\n\n\n\n<p>[ERR] 1419 - You do not have the SUPER privilege and binary logging is enabled (you <em>might<\/em> want to use the less safe log_bin_trust_function_creators variable)<\/p>\n\n\n\n<p>\u901a\u8fc7ssh\u5de5\u5177\u8fde\u63a5\u670d\u52a1\u5668\uff0cmysql -uroot -p\uff0c\u8f93\u5165\u6570\u636e\u5e93root\u5bc6\u7801<\/p>\n\n\n\n<p>1\u3001\u4f7f\u7528\u8bbe\u7f6e\u547d\u4ee4 <\/p>\n\n\n\n<p>set global log_bin_trust_function_creators=1; <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"659\" height=\"317\" src=\"https:\/\/www.shineskr.com\/wp-content\/uploads\/\/2021\/01\/image-4.png\" alt=\"\" class=\"wp-image-762\" alt=\"mysql\u64cd\u4f5c\u62a5You do not have the SUPER privilege....\u7684\u89e3\u51b3\u65b9\u6cd5 linux\u6559\u7a0b \u7b2c2\u5f20\" title=\"mysql\u64cd\u4f5c\u62a5You do not have the SUPER privilege....\u7684\u89e3\u51b3\u65b9\u6cd5 linux\u6559\u7a0b \u7b2c2\u5f20-\u6211\u7684\u6298\u817e\u65e5\u8bb0\" ><\/figure>\n\n\n\n<p>2\u3001\u6c38\u4e45\u89e3\u51b3\u65b9\u6848\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p>linux\u7cfb\u7edf\uff0c \u5728\/etc\/my.cnf \u6587\u4ef6\u4e2d\uff0c[mysqld]\u90e8\u5206\u52a0\u4e0a\uff1a<\/p>\n\n\n\n<p>windows\u7cfb\u7edf\uff0c\u5728my.ini\u6587\u4ef6\u4e2d\uff0c[mysqld]\u90e8\u5206\u52a0\u4e0a\uff1a<\/p>\n\n\n\n<p>log_bin_trust_function_creators=1<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728mysql\u4e0a\u6267\u884c\u90e8\u5206\u64cd\u4f5c\u65f6\u4f1a\u62a5\u5982\u4e0b\u9519\u8bef\uff0c\u89e3\u51b3\u65b9\u6cd5\u5982\u4e0b [ERR] 1419 &#8211; You do not have the SUPER privilege and binary logging is e \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[73],"table_tags":[],"_links":{"self":[{"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/posts\/755"}],"collection":[{"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/comments?post=755"}],"version-history":[{"count":2,"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/posts\/755\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/posts\/755\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/media?parent=755"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/categories?post=755"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/tags?post=755"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/www.shineskr.com\/api\/wp\/v2\/table_tags?post=755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}