{"id":28618,"date":"2023-12-22T23:53:35","date_gmt":"2023-02-28T21:07:48","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/"},"modified":"2025-08-12T09:10:30","modified_gmt":"2025-08-12T01:10:30","slug":"%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/","title":{"rendered":"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5"},"content":{"rendered":"<p>\u6211\u5c06\u603b\u7ed3\u4e00\u4e0b\u5982\u679c\u4f60\u8bd5\u56fe\u91cd\u65b0\u5b89\u88c5MariaDB\uff0c\u4f46\u9047\u5230\u4e86\u4e00\u4e9b\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\u65f6\u7684\u5904\u7406\u65b9\u6cd5\u3002<\/p>\n<h1>\u524d\u63d0 t\u00ed) &#8211; premise<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">Ubuntu<\/ul>\n<\/li>\n<\/ul>\n<p>[MariaDB] ubuntu\u306bMariaDB\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u305f &#8211; Qiita\u306b\u5f93\u3063\u3066\u3001\u4e00\u5ea6\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u884c\u3063\u3066\u3044\u308b<\/p>\n<h1>\u547d\u4ee4<\/h1>\n<p>\u867d\u7136\u6709\u4e9b\u65e0\u7528\u7684\u6307\u4ee4\u6df7\u5728\u5176\u4e2d\uff0c\u4f46\u53ea\u8981\u6309\u7167\u8fd9\u6837\u64cd\u4f5c\uff0c\u4f3c\u4e4e\u53ef\u4ee5\u6210\u529f\u91cd\u65b0\u5b89\u88c5\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nb\">sudo rm<\/span> <span class=\"nt\">-r<\/span> \/etc\/ld.so.conf.d\/mysql \/etc\/mysql\/my.cnf \/usr\/local\/mysql \/var\/log\/mysql\/error.log\r\n<span class=\"nb\">sudo <\/span>apt purge mariadb-common mariadb-server\r\n<span class=\"nb\">sudo <\/span>apt autoremove\r\n<span class=\"nb\">sudo <\/span>apt clean\r\n<span class=\"nb\">sudo <\/span>apt <span class=\"nb\">install <\/span>mariadb-common mariadb-server mariadb-client\r\n<\/code><\/pre>\n<h1>\u53c2\u8003\u8d44\u6599<\/h1>\n<ul class=\"post-ul\">[ubuntu] 11.10 MySQL install errors, doesn&#8217;t work, cant uninstall either!<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u5c06\u603b\u7ed3\u4e00\u4e0b\u5982\u679c\u4f60\u8bd5\u56fe\u91cd\u65b0\u5b89\u88c5MariaDB\uff0c\u4f46\u9047\u5230\u4e86\u4e00\u4e9b\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\u65f6\u7684\u5904\u7406\u65b9\u6cd5\u3002 \u524d\u63d0 t\u00ed) &#038;#82 [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28618","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\u7684\u6280\u672f\u6587\u7ae0\" \/>\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.silicloud.com\/zh\/blog\/\u5f53ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5mariadb\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5f53ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5mariadb\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-02-28T21:07:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T01:10:30+00:00\" \/>\n<meta name=\"author\" content=\"\u9038, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u9038, \u79d1\" \/>\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.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/\",\"name\":\"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-02-28T21:07:48+00:00\",\"dateModified\":\"2025-08-12T01:10:30+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"description\":\"\u5173\u4e8e\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\",\"name\":\"\u9038, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g\",\"caption\":\"\u9038, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\u7684\u6280\u672f\u6587\u7ae0","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.silicloud.com\/zh\/blog\/\u5f53ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5mariadb\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5","og_description":"\u5173\u4e8e\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5f53ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5mariadb\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-02-28T21:07:48+00:00","article_modified_time":"2025-08-12T01:10:30+00:00","author":"\u9038, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u9038, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/","name":"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-02-28T21:07:48+00:00","dateModified":"2025-08-12T01:10:30+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"description":"\u5173\u4e8e\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5f53Ubuntu\u65e0\u6cd5\u6210\u529f\u91cd\u65b0\u5b89\u88c5MariaDB\u65f6\u7684\u89e3\u51b3\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487","name":"\u9038, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c94f6d9cbbfbca863fab309840bd690c153c95f8490c290ad2ed54dd693dad16?s=96&d=mm&r=g","caption":"\u9038, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keyi\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%bd%93ubuntu%e6%97%a0%e6%b3%95%e6%88%90%e5%8a%9f%e9%87%8d%e6%96%b0%e5%ae%89%e8%a3%85mariadb%e6%97%b6%e7%9a%84%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28618"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28618\/revisions"}],"predecessor-version":[{"id":98992,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28618\/revisions\/98992"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}