{"id":27005,"date":"2025-04-19T17:51:36","date_gmt":"2025-04-19T09:51:36","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/27005.html"},"modified":"2025-04-19T17:51:36","modified_gmt":"2025-04-19T09:51:36","slug":"navicat%e8%bf%9e%e6%8e%a5%e6%9c%8d%e5%8a%a1%e5%99%a8mysql","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/27005.html","title":{"rendered":"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL"},"content":{"rendered":"<h5>Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL<\/h5>\n<ul>\n<li>\n<ul>\n<li>1. Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL<\/li>\n<li>2. \u5982\u4f55\u67e5\u770bMySQL\u7528\u6237\u540d\u548c\u5bc6\u7801<\/li>\n<li>3. \u4fee\u6539MySQL\u767b\u5f55\u5bc6\u7801<\/li>\n<li>4. \u5b89\u88c5MySQL(Centos7)<\/li>\n<li>\u9047\u5230\u9519\u8bef\u548c\u95ee\u9898<\/li>\n<li>\n<ul>\n<li>1. error 1045 (28000): access denied for user \u2018root\u2019&#064;\u2018localhost\u2019 (using password:yes)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<hr \/>\n<hr \/>\n<h4>1. Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL<\/h4>\n<li>\n<p>\u9009\u62e9\u6570\u636e\u5e93 \u76f4\u63a5\u4f7f\u7528\u7b2c\u4e00\u4e2aMySQL\u5373\u53ef\u3002\u6211\u4e5f\u4e0d\u77e5\u9053\u8fd9\u4e2a\u817e\u8baf\u4e91\u7248\u7684\u533a\u522b\u5728\u54ea&#xff0c;\u6211\u7528\u7684\u5c31\u662f\u8fd9\u4e2a&#xff0c;\u8868\u9762\u548c\u666e\u901a\u7684\u6ca1\u770b\u51fa\u4ec0\u4e48\u533a\u522b\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095134-680372266cebc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u5e38\u89c4\u8bbe\u7f6e <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095134-68037226959d7.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>SSH\u8bbe\u7f6e \u8bbe\u7f6essh\u901a\u9053\u4f1a\u4f7f\u5f97\u64cd\u4f5c\u6570\u636e\u5e93\u65f6&#xff0c;\u4fdd\u8bc1\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u2026 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095134-68037226c2765.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u6700\u7ec8\u6548\u679c <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095134-68037226ef293.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<h4>2. \u5982\u4f55\u67e5\u770bMySQL\u7528\u6237\u540d\u548c\u5bc6\u7801<\/h4>\n<p>\u2460 \u8f93\u5165\u547d\u4ee4mysql \u2013uroot \u2013p&#xff0c;\u7136\u540e\u8f93\u5165\u5bc6\u7801\u76f4\u63a5\u56de\u8f66 \u2461 \u7136\u540e\u518d\u8f93\u5165use mysql \u2462 \u8f93\u5165SQL\u8bed\u53e5select host,user from mysql.user;<\/p>\n<p>\u9644\u56fe&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095135-680372271f31d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h4>3. \u4fee\u6539MySQL\u767b\u5f55\u5bc6\u7801<\/h4>\n<li>\n<p>\u4fee\u6539my.cnf\u6587\u4ef6<\/p>\n<p>\u2460 \u8f93\u5165\u547d\u4ee4vim \/etc\/my.cnf<\/p>\n<p>\u2461 \u7136\u540e\u5728[mysqld]\u540e\u9762\u6dfb\u52a0skip-grant-tables<\/p>\n<p>\u2462 \u4fdd\u5b58\u9000\u51fa(Esc &#043; :wq)<\/p>\n<p>\u9644\u56fe&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095135-680372274495c.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u91cd\u542fMySQL\u670d\u52a1<\/p>\n<p>\u2460 \u8f93\u5165\u547d\u4ee4sudo systemctl restart mysqld<\/p>\n<\/li>\n<li>\n<p>\u9009\u62e9\u6570\u636e\u5e93<\/p>\n<p>\u2460 \u8f93\u5165\u547d\u4ee4mysql<\/p>\n<p>\u2461 \u7136\u540e\u518d\u8f93\u5165use mysql<\/p>\n<p>\u2462 \u6700\u540e\u8f93\u5165exit\u9000\u51famysql<\/p>\n<p>\u9644\u56fe&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095135-680372276a224.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u4fee\u6539\u5bc6\u7801<\/p>\n<p>\u2460 \u8f93\u5165\u547d\u4ee4mysql \u2013uroot \u2013p&#xff0c;\u4e0d\u8f93\u5165\u5bc6\u7801\u76f4\u63a5\u56de\u8f66<\/p>\n<p>\u2461 \u8f93\u5165SQL\u8bed\u53e5set password for root&#064;localhost &#061; password(&#039;\u81ea\u5df1\u8981\u66f4\u6539\u7684\u5bc6\u7801&#039;); \u5982\u679c\u51fa\u73b0\u8be5\u9519\u8bef&#xff1a; ERROR 1290 (HY000): The MySQL server is running with the &#8211;skip-grant-tables option so it cannot execute this statement \u89e3\u51b3\u65b9\u6cd5&#xff1a; 1)\u8f93\u5165\u547d\u4ee4flush privileges; 2)\u518d\u6b21\u8f93\u5165\u547d\u4ee4set password for root&#064;localhost &#061; password(&#039;\u81ea\u5df1\u8981\u66f4\u6539\u7684\u5bc6\u7801&#039;);<\/p>\n<p>\u2462 \u8bbe\u7f6e\u8fdc\u7a0b\u8bbf\u95ee&#xff0c;\u8f93\u5165SQL\u8bed\u53e5GRANT ALL PRIVILEGES ON *.* TO &#039;root&#039;&#064;&#039;%&#039; IDENTIFIED BY &#039;password&#039; WITH GRANT OPTION;<\/p>\n<p>\u2463 \u8f93\u5165\u547d\u4ee4flush privileges;\u518d\u6b21\u5237\u65b0<\/p>\n<p>\u2464 \u6700\u540e\u8f93\u5165exit\u9000\u51famysql<\/p>\n<p>\u9644\u56fe&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095135-6803722790255.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u8fd8\u539fmy.cnf\u6587\u4ef6<\/p>\n<p>\u2460 \u8f93\u5165\u547d\u4ee4vim \/etc\/my.cnf<\/p>\n<p>\u2461 \u53bb\u6389(\u6216\u8005\u6ce8\u91ca\u6389)[mysqld]\u540e\u9762\u6dfb\u52a0\u7684skip-grant-tables<\/p>\n<p>\u2462 \u4fdd\u5b58\u9000\u51fa(Esc &#043; :wq)<\/p>\n<\/li>\n<h4>4. \u5b89\u88c5MySQL(Centos7)<\/h4>\n<p>repo\u6587\u4ef6\u662f\u4ec0\u4e48&#xff1f; repo\u6587\u4ef6\u662fFedora\u4e2dyum\u6e90&#xff08;\u8f6f\u4ef6\u4ed3\u5e93&#xff09;\u7684\u914d\u7f6e\u6587\u4ef6&#xff0c;\u901a\u5e38\u4e00\u4e2arepo\u6587\u4ef6\u5b9a\u4e49\u4e86\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u8f6f\u4ef6\u4ed3\u5e93\u7684\u7ec6\u8282\u5185\u5bb9&#xff0c;\u4f8b\u5982\u6211\u4eec\u5c06\u4ece\u54ea\u91cc\u4e0b\u8f7d\u9700\u8981\u5b89\u88c5\u6216\u8005\u5347\u7ea7\u7684\u8f6f\u4ef6\u5305&#xff0c;repo\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u5185\u5bb9\u5c06\u88abyum\u8bfb\u53d6\u548c\u5e94\u7528\u3002<\/p>\n<li>\n<p>\u4e0b\u8f7drepo\u6587\u4ef6<\/p>\n<p> [root&#064;VM-4-2-centos ~]# wget http:\/\/repo.mysql.com\/mysql-community-release-el7-5.noarch.rpm\n <\/li>\n<li>\n<p>\u5b89\u88c5\u5df2\u4e0b\u8f7d\u7684rpm\u5305<\/p>\n<p> [root&#064;VM-4-2-centos ~]# rpm -ivh mysql-community-release-el7-5.noarch.rpm\n <\/li>\n<li>\n<p>\u5b89\u88c5mysql<\/p>\n<p> [root&#064;VM-4-2-centos ~]# yum install mysql-server\n <\/li>\n<li>\n<p>\u5b89\u88c5mysql\u5f00\u53d1\u5305<\/p>\n<p> [root&#064;VM-4-2-centos ~]# sudo yum install mysql-devel\n <\/li>\n<h4>\u9047\u5230\u9519\u8bef\u548c\u95ee\u9898<\/h4>\n<h5>1. error 1045 (28000): access denied for user \u2018root\u2019&#064;\u2018localhost\u2019 (using password:yes)<\/h5>\n<p>\u5bfc\u81f4\u7684\u539f\u56e0&#xff1a; (1) mysqld\u7684\u670d\u52a1\u5668\u505c\u6b62\u3002\u91cd\u542f\u4e00\u4e0bMySQL\u670d\u52a1\u5668(systemctl restart mysqld) (2) \u7528\u6237\u7684\u7aef\u53e3\u53f7\u6216\u8005IP\u5bfc\u81f4\u9519\u8bef\u3002\u82e5\u7528\u6237\u7684\u7aef\u53e3\u53f7\u4e0eIP(3306\/3307)\u4e0d\u4e00\u81f4&#xff0c;\u6253\u5f00[my.ini\u6587\u4ef6]\u8fdb\u884c\u7f16\u8f91\u3002\u5168\u90e8\u7f16\u8f91\u66ff\u6362\u4e3aport&#061;X (3) mysqld\u7684\u914d\u7f6e\u6587\u4ef6\u9519\u8bef (4) root\u7528\u6237\u7684\u5bc6\u7801\u9519\u8bef<\/p>\n<p>\u5148\u770b(1)\u548c(2)\u89e3\u51b3\u65b9\u6cd5&#xff0c;\u90fd\u4e0d\u884c\u76f4\u63a5\u4fee\u5bc6\u7801\u5427&#xff0c;\u5927\u6982\u7387\u662f\u5bc6\u7801\u95ee\u9898\u3002<\/p>\n<hr \/>\n<p>end.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e26\u6b21\uff0c\u6536\u85cf30\u6b21\u3002repo\u6587\u4ef6\u662fFedora\u4e2dyum\u6e90\uff08\u8f6f\u4ef6\u4ed3\u5e93\uff09\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u4e00\u4e2arepo\u6587\u4ef6\u5b9a\u4e49\u4e86\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u8f6f\u4ef6\u4ed3\u5e93\u7684\u7ec6\u8282\u5185\u5bb9\uff0c\u4f8b\u5982\u6211\u4eec\u5c06\u4ece\u54ea\u91cc\u4e0b\u8f7d\u9700\u8981\u5b89\u88c5\u6216\u8005\u5347\u7ea7\u7684\u8f6f\u4ef6\u5305\uff0crepo\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u5185\u5bb9\u5c06\u88abyum\u8bfb\u53d6\u548c\u5e94\u7528\u3002\u82e5\u7528\u6237\u7684\u7aef\u53e3\u53f7\u4e0eIP(3306\/3307)\u4e0d\u4e00\u81f4\uff0c\u6253\u5f00[my.ini\u6587\u4ef6]\u8fdb\u884c\u7f16\u8f91\u3002\u6211\u4e5f\u4e0d\u77e5\u9053\u8fd9\u4e2a\u817e\u8baf\u4e91\u7248\u7684\u533a\u522b\u5728\u54ea\uff0c\u6211\u7528\u7684\u5c31\u662f\u8fd9\u4e2a\uff0c\u8868\u9762\u548c\u666e\u901a\u7684\u6ca1\u770b\u51fa\u4ec0\u4e48\u533a\u522b\u3002\u5148\u770b(1)\u548c(2)\u89e3\u51b3\u65b9\u6cd5\uff0c\u90fd\u4e0d\u884c\u76f4\u63a5\u4fee\u5bc6\u7801\u5427\uff0c\u5927\u6982\u7387\u662f\u5bc6\u7801\u95ee\u9898\u3002\u2461 \u53bb\u6389(\u6216\u8005\u6ce8\u91ca\u6389)[mysqld]\u540e\u9762\u6dfb\u52a0\u7684\u3002\uff0c\u4e0d\u8f93\u5165\u5bc6\u7801\u76f4\u63a5\u56de\u8f66\u3002<\/p>\n","protected":false},"author":2,"featured_media":26997,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[114,43,44],"topic":[],"class_list":["post-27005","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-mysql","tag-43","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/27005.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e26\u6b21\uff0c\u6536\u85cf30\u6b21\u3002repo\u6587\u4ef6\u662fFedora\u4e2dyum\u6e90\uff08\u8f6f\u4ef6\u4ed3\u5e93\uff09\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u4e00\u4e2arepo\u6587\u4ef6\u5b9a\u4e49\u4e86\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u8f6f\u4ef6\u4ed3\u5e93\u7684\u7ec6\u8282\u5185\u5bb9\uff0c\u4f8b\u5982\u6211\u4eec\u5c06\u4ece\u54ea\u91cc\u4e0b\u8f7d\u9700\u8981\u5b89\u88c5\u6216\u8005\u5347\u7ea7\u7684\u8f6f\u4ef6\u5305\uff0crepo\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u5185\u5bb9\u5c06\u88abyum\u8bfb\u53d6\u548c\u5e94\u7528\u3002\u82e5\u7528\u6237\u7684\u7aef\u53e3\u53f7\u4e0eIP(3306\/3307)\u4e0d\u4e00\u81f4\uff0c\u6253\u5f00[my.ini\u6587\u4ef6]\u8fdb\u884c\u7f16\u8f91\u3002\u6211\u4e5f\u4e0d\u77e5\u9053\u8fd9\u4e2a\u817e\u8baf\u4e91\u7248\u7684\u533a\u522b\u5728\u54ea\uff0c\u6211\u7528\u7684\u5c31\u662f\u8fd9\u4e2a\uff0c\u8868\u9762\u548c\u666e\u901a\u7684\u6ca1\u770b\u51fa\u4ec0\u4e48\u533a\u522b\u3002\u5148\u770b(1)\u548c(2)\u89e3\u51b3\u65b9\u6cd5\uff0c\u90fd\u4e0d\u884c\u76f4\u63a5\u4fee\u5bc6\u7801\u5427\uff0c\u5927\u6982\u7387\u662f\u5bc6\u7801\u95ee\u9898\u3002\u2461 \u53bb\u6389(\u6216\u8005\u6ce8\u91ca\u6389)[mysqld]\u540e\u9762\u6dfb\u52a0\u7684\u3002\uff0c\u4e0d\u8f93\u5165\u5bc6\u7801\u76f4\u63a5\u56de\u8f66\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/27005.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-19T09:51:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095134-680372266cebc.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27005.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/27005.html\",\"name\":\"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-19T09:51:36+00:00\",\"dateModified\":\"2025-04-19T09:51:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/27005.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/27005.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/27005.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/27005.html","og_locale":"zh_CN","og_type":"article","og_title":"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1k\u6b21\uff0c\u70b9\u8d5e26\u6b21\uff0c\u6536\u85cf30\u6b21\u3002repo\u6587\u4ef6\u662fFedora\u4e2dyum\u6e90\uff08\u8f6f\u4ef6\u4ed3\u5e93\uff09\u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u901a\u5e38\u4e00\u4e2arepo\u6587\u4ef6\u5b9a\u4e49\u4e86\u4e00\u4e2a\u6216\u8005\u591a\u4e2a\u8f6f\u4ef6\u4ed3\u5e93\u7684\u7ec6\u8282\u5185\u5bb9\uff0c\u4f8b\u5982\u6211\u4eec\u5c06\u4ece\u54ea\u91cc\u4e0b\u8f7d\u9700\u8981\u5b89\u88c5\u6216\u8005\u5347\u7ea7\u7684\u8f6f\u4ef6\u5305\uff0crepo\u6587\u4ef6\u4e2d\u7684\u8bbe\u7f6e\u5185\u5bb9\u5c06\u88abyum\u8bfb\u53d6\u548c\u5e94\u7528\u3002\u82e5\u7528\u6237\u7684\u7aef\u53e3\u53f7\u4e0eIP(3306\/3307)\u4e0d\u4e00\u81f4\uff0c\u6253\u5f00[my.ini\u6587\u4ef6]\u8fdb\u884c\u7f16\u8f91\u3002\u6211\u4e5f\u4e0d\u77e5\u9053\u8fd9\u4e2a\u817e\u8baf\u4e91\u7248\u7684\u533a\u522b\u5728\u54ea\uff0c\u6211\u7528\u7684\u5c31\u662f\u8fd9\u4e2a\uff0c\u8868\u9762\u548c\u666e\u901a\u7684\u6ca1\u770b\u51fa\u4ec0\u4e48\u533a\u522b\u3002\u5148\u770b(1)\u548c(2)\u89e3\u51b3\u65b9\u6cd5\uff0c\u90fd\u4e0d\u884c\u76f4\u63a5\u4fee\u5bc6\u7801\u5427\uff0c\u5927\u6982\u7387\u662f\u5bc6\u7801\u95ee\u9898\u3002\u2461 \u53bb\u6389(\u6216\u8005\u6ce8\u91ca\u6389)[mysqld]\u540e\u9762\u6dfb\u52a0\u7684\u3002\uff0c\u4e0d\u8f93\u5165\u5bc6\u7801\u76f4\u63a5\u56de\u8f66\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/27005.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-19T09:51:36+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250419095134-680372266cebc.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/27005.html","url":"https:\/\/www.wsisp.com\/helps\/27005.html","name":"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-19T09:51:36+00:00","dateModified":"2025-04-19T09:51:36+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/27005.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/27005.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/27005.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Navicat\u8fde\u63a5\u670d\u52a1\u5668MySQL"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=27005"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/27005\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/26997"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=27005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=27005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=27005"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=27005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}