{"id":28518,"date":"2022-12-15T01:45:31","date_gmt":"2023-08-26T06:08:48","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/"},"modified":"2025-08-12T08:37:25","modified_gmt":"2025-08-12T00:37:25","slug":"%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/","title":{"rendered":"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55"},"content":{"rendered":"<p>\u4f5c\u696d\u5185\u5bb9\u7684\u7b14\u8bb0<\/p>\n<h1>\u884c\u52a8\u73af\u5883<\/h1>\n<p>\u6811\u8393\u6d3e3\u578bB<br \/>\n\u6811\u8393\u6d3e\u64cd\u4f5c\u7cfb\u7edfStretch<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ cat \/etc\/debian_version\r\n9.1\r\npi@raspberrypi:~ $ cat \/etc\/issue\r\nRaspbian GNU\/Linux 9 \\n \\l\r\npi@raspberrypi:~ $ \r\n<\/code><\/pre>\n<h1>\u6982\u62ec<\/h1>\n<p>\u7528\u6811\u8393\u6d3e\u767b\u5f55MariaDB\u7684root\u7528\u6237\u7684\u8bb0\u4e8b\u672c\u5907\u5fd8\u5f55\u3002<\/p>\n<h1>\u4efb\u52a1\u63cf\u8ff0<\/h1>\n<p>\u6700\u521d\u6253\u7b97\u5728\u6811\u8393\u6d3e\u4e0a\u5b89\u88c5MySQL\uff0c\u4f46\u548c\u5f80\u5e38\u4e00\u6837<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ sudo apt-get install mysql-server\r\n<\/code><\/pre>\n<p>\u800c\u6211\u6267\u884c\u4e86\u6307\u4ee4\uff0c\u4f46\u5bc6\u7801\u8bbe\u7f6e\u754c\u9762\u6ca1\u6709\u663e\u793a\u51fa\u6765\uff0c\u5bfc\u81f4\u5b89\u88c5\u65e0\u6cd5\u5b8c\u6210\u3002<br \/>\n\u4e3a\u4e86\u786e\u4fdd\uff0c\u6211\u6267\u884c\u4e86mysql\u6307\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ mysql -u root -p\r\nEnter password:\r\nERROR 1698 (28000): Access denied for user 'root'@'localhost'\r\n<\/code><\/pre>\n<p>\u56e0\u4e3a\u8981\u6c42\u8f93\u5165\u4e86\u4e00\u4e2a\u6211\u6ca1\u6709\u8bbe\u7f6e\u7684\u5bc6\u7801\uff0c\u6240\u4ee5\u6211\u653e\u5f03\u4e86\u3002<br \/>\n\u67e5\u4e86\u4e00\u4e0b\uff0c\u6700\u65b0\u7684Raspbian\uff08Stretch\uff09\u63a8\u8350\u4f7f\u7528\u7684\u662fMariadb\u800c\u4e0d\u662fMysql\u3002<br \/>\n\u6211\u68c0\u67e5\u4e86\u4e4b\u524d\u5b89\u88c5Mysql\u65f6\u7684\u8f93\u51fa\u7ed3\u679c\uff0c\u53d1\u73b0\u786e\u5b9e\u7559\u4e0b\u4e86\u5b89\u88c5Mariadb\u7684\u7ed3\u679c\u3002<br \/>\n\u56e0\u6b64\uff0c\u6211\u5c1d\u8bd5\u4f7f\u7528Mariadb\u800c\u4e0d\u662fMysql\u4f5c\u4e3a\u547d\u4ee4\u6765\u767b\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ mariadb -u root -p\r\nEnter password:\r\nERROR 1698 (28000): Access denied for user 'root'@'localhost'\r\n<\/code><\/pre>\n<p>\u540c\u6837\u5730\uff0c\u6211\u6536\u5230\u4e86\u4e00\u4e2a\u5bc6\u7801\u8981\u6c42\u3002<br \/>\n\u7531\u4e8e\u6211\u611f\u5230\u8fd9\u53ef\u80fd\u662f\u6743\u9650\u7684\u95ee\u9898\uff0c\u6240\u4ee5\u6211\u6267\u884c\u4e86\u4ee5\u4e0b\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ sudo mariadb\r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 34\r\nServer version: 10.1.23-MariaDB-9+deb9u1 Raspbian 9.0\r\n\r\nCopyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\nMariaDB [(none)]&gt; use mysql;\r\nReading table information for completion of table and column names\r\nYou can turn off this feature to get a quicker startup with -A\r\n<\/code><\/pre>\n<p>\u6211\u6210\u529f\u5730\u767b\u5f55\u4e86\u3002<br \/>\n\u7531\u4e8e\u6ca1\u6709\u5bc6\u7801\u8bbe\u7f6e\u753b\u9762\uff0c\u6211\u65e0\u6cd5\u767b\u5f55\uff0c\u4e8e\u662f\u53c2\u8003\u4e86\u8fd9\u7bc7\u6587\u7ae0\u6765\u8bbe\u7f6e\u5bc6\u7801\u3002<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ sudo systemctl start mariadb.service\r\npi@raspberrypi:~ $ sudo \/usr\/bin\/mysql_secure_installation\r\n\r\nNOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB\r\n      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!\r\n\r\nIn order to log into MariaDB to secure it, we'll need the current\r\npassword for the root user.  If you've just installed MariaDB, and\r\nyou haven't set the root password yet, the password will be blank,\r\nso you should just press enter here.\r\n\r\n# root\u306b\u5bfe\u3057\u3066\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u306a\u3044\u5834\u5408\u306fEnter\u3067\u9032\u3080\r\nEnter current password for root (enter for none): \r\nOK, successfully used password, moving on...\r\n\r\nSetting the root password ensures that nobody can log into the MariaDB\r\nroot user without the proper authorisation.\r\n\r\nYou already have a root password set, so you can safely answer 'n'.\r\n\r\n# root\u306b\u5bfe\u3057\u3066\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\r\nChange the root password? [Y\/n] Y\r\nNew password: \r\nRe-enter new password: \r\nPassword updated successfully!\r\nReloading privilege tables..\r\n ... Success!\r\n\r\n\r\nBy default, a MariaDB installation has an anonymous user, allowing anyone\r\nto log into MariaDB without having to have a user account created for\r\nthem.  This is intended only for testing, and to make the installation\r\ngo a bit smoother.  You should remove them before moving into a\r\nproduction environment.\r\n\r\nRemove anonymous users? [Y\/n] Y\r\n ... Success!\r\n\r\nNormally, root should only be allowed to connect from 'localhost'.  This\r\nensures that someone cannot guess at the root password from the network.\r\n\r\nDisallow root login remotely? [Y\/n] Y\r\n ... Success!\r\n\r\nBy default, MariaDB comes with a database named 'test' that anyone can\r\naccess.  This is also intended only for testing, and should be removed\r\nbefore moving into a production environment.\r\n\r\nRemove test database and access to it? [Y\/n] Y\r\n - Dropping test database...\r\n ... Success!\r\n - Removing privileges on test database...\r\n ... Success!\r\n\r\nReloading the privilege tables will ensure that all changes made so far\r\nwill take effect immediately.\r\n\r\nReload privilege tables now? [Y\/n] Y\r\n ... Success!\r\n\r\nCleaning up...\r\n\r\nAll done!  If you've completed all of the above steps, your MariaDB\r\ninstallation should now be secure.\r\n\r\nThanks for using MariaDB!\r\npi@raspberrypi:~ $ \r\n<\/code><\/pre>\n<p>\u6211\u8bbe\u5b9a\u4e86\u6839\u76ee\u5f55\u7684\u5bc6\u7801\uff0c\u6240\u4ee5\u5c1d\u8bd5\u91cd\u65b0\u767b\u5f55\u3002<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ mariadb -u root -p\r\nEnter password: \r\nERROR 1698 (28000): Access denied for user 'root'@'localhost'\r\n<\/code><\/pre>\n<p>\u7531\u4e8e\u767b\u5f55\u5931\u8d25\uff0c\u8bf7\u786e\u8ba4\u662f\u5426\u5df2\u8bbe\u7f6e\u5bc6\u7801\u3002<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ sudo mariadb \r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 34\r\nServer version: 10.1.23-MariaDB-9+deb9u1 Raspbian 9.0\r\n\r\nCopyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\nMariaDB [(none)]&gt; use mysql;\r\nReading table information for completion of table and column names\r\nYou can turn off this feature to get a quicker startup with -A\r\n\r\nDatabase changed\r\nMariaDB [mysql]&gt; select user,password,plugin from user;\r\n+------+-------------------------------------------+-------------+\r\n| user | password                                  | plugin      |\r\n+------+-------------------------------------------+-------------+\r\n| root | *7F0E37FBE843C587C23B67BD18E48B163E32F245 | unix_socket |\r\n+------+-------------------------------------------+-------------+\r\n1 row in set (0.01 sec)\r\n\r\n<\/code><\/pre>\n<p>\u6839\u636e\u5bc6\u7801\u7684\u6b63\u786e\u8bbe\u7f6e\uff0c\u6211\u8fdb\u884c\u4e86\u8c03\u67e5\uff0c\u5e76\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u627e\u5230\u4e86\u4ecb\u7ecd\u3002\u636e\u8bf4\uff0c\u901a\u8fc7\u7981\u7528unix_socket\u63d2\u4ef6\u53ef\u4ee5\u767b\u5f55\uff0c\u6240\u4ee5\u6211\u5c1d\u8bd5\u4e86\u4ee5\u4e0b\u64cd\u4f5c\u3002<\/p>\n<pre class=\"post-pre\"><code>pi@raspberrypi:~ $ sudo mariadb\r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 37\r\nServer version: 10.1.23-MariaDB-9+deb9u1 Raspbian 9.0\r\n\r\nCopyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\n#\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u5909\u66f4\r\nMariaDB [(none)]&gt; use mysql;\r\nReading table information for completion of table and column names\r\nYou can turn off this feature to get a quicker startup with -A\r\n\r\nDatabase changed\r\nMariaDB [mysql]&gt; select user,password,plugin from user;\r\n+------+-------------------------------------------+-------------+\r\n| user | password                                  | plugin      |\r\n+------+-------------------------------------------+-------------+\r\n| root | *7F0E37FBE843C587C23B67BD18E48B163E32F245 | unix_socket |\r\n+------+-------------------------------------------+-------------+\r\n1 row in set (0.00 sec)\r\n\r\n# root\u30e6\u30fc\u30b6\u306b\u5bfe\u3059\u308bunix_socket\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u7121\u52b9\u5316\u3059\u308b\r\nMariaDB [mysql]&gt; update user set plugin='' where user='root';\r\nQuery OK, 1 row affected (0.00 sec)\r\nRows matched: 1  Changed: 1  Warnings: 0\r\n\r\nMariaDB [mysql]&gt; select user,password,plugin from user;\r\n+------+-------------------------------------------+--------+\r\n| user | password                                  | plugin |\r\n+------+-------------------------------------------+--------+\r\n| root | *7F0E37FBE843C587C23B67BD18E48B163E32F245 |        |\r\n+------+-------------------------------------------+--------+\r\n1 row in set (0.00 sec)\r\n\r\n# \u5909\u66f4\u3057\u305f\u66f4\u65b0\u5185\u5bb9\u3092\u53cd\u6620\r\nMariaDB [mysql]&gt; flush privileges;\r\nQuery OK, 0 rows affected (0.00 sec)\r\n\r\nMariaDB [mysql]&gt; exit;\r\nBye\r\n\r\n# \u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3068\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u305f\r\npi@raspberrypi:~ $ mysql -u root -p\r\nEnter password: \r\nWelcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 43\r\nServer version: 10.1.23-MariaDB-9+deb9u1 Raspbian 9.0\r\n\r\nCopyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.\r\n\r\nType 'help;' or '\\h' for help. Type '\\c' to clear the current input statement.\r\n\r\nMariaDB [(none)]&gt; \r\n<\/code><\/pre>\n<p>\u7136\u800c\uff0c\u8fd9\u4e2a\u65b9\u6cd5\u4ec5\u4ec5\u53ea\u662f\u901a\u8fc7&#8221;$ mysql -u root -p&#8221;\u6765\u767b\u5f55\u7684\u65b9\u5f0f\uff0c\u4e0e\u4e4b\u524d\u4ecb\u7ecd\u7981\u7528\u63d2\u4ef6\u7684\u65b9\u6cd5\u4e0d\u540c\uff0c\u5e94\u8be5\u989d\u5916\u521b\u5efa\u7528\u6237\u5e76\u4e3a\u6bcf\u4e2a\u521b\u5efa\u7684\u7528\u6237\u5206\u914d\u6743\u9650\u6765\u8fd0\u884c\u3002<\/p>\n<h1>\u53c2\u8003\u7f51\u7ad9 (\u5f15\u7528\u6765\u6e90)<\/h1>\n<p>\u5907\u5fd8\u5f55\uff1a\u5b89\u88c5\/\u521d\u59cb\u5316MariaDB<br \/>\n\u5728Ubuntu 16.04\u4e0a\u5b89\u88c5MariaDB\u4f1a\u66f4\u6539\u5bc6\u7801 | \u7d14\u898f\u7684\u95f2\u4eba\u7231\u597d\u535a\u5ba2<\/p>\n<p>\u5982\u679c\u6709\u9519\u8bef\u6216\u8005\u9700\u8981\u6307\u6b63\u7684\u5730\u65b9\uff0c\u8bf7\u9ebb\u70e6\u60a8\u544a\u77e5\u6211\uff0c\u975e\u5e38\u611f\u8c22\uff0c\u8fd9\u5bf9\u6211\u6765\u8bf4\u4f1a\u5f88\u6709\u5b66\u4e60\u4ef7\u503c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u696d\u5185\u5bb9\u7684\u7b14\u8bb0 \u884c\u52a8\u73af\u5883 \u6811\u8393\u6d3e3\u578bB \u6811\u8393\u6d3e\u64cd\u4f5c\u7cfb\u7edfStretch pi@raspberrypi:~ $ c [&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-28518","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>\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\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\/\u5728\u5b89\u88c5mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728\u5b89\u88c5mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-26T06:08:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T00:37:25+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%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/\",\"name\":\"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-08-26T06:08:48+00:00\",\"dateModified\":\"2025-08-12T00:37:25+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487\"},\"description\":\"\u5173\u4e8e\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\"}]},{\"@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%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55 - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\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\/\u5728\u5b89\u88c5mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55","og_description":"\u5173\u4e8e\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728\u5b89\u88c5mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-08-26T06:08:48+00:00","article_modified_time":"2025-08-12T00:37:25+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%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/","name":"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-08-26T06:08:48+00:00","dateModified":"2025-08-12T00:37:25+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/85c1dae56e6ea1e695c73d33c684d487"},"description":"\u5173\u4e8e\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u5728\u5b89\u88c5Mariadb\u5230\u6811\u8393\u6d3e\u4e0a\u65f6\u7684\u5907\u5fd8\u5f55"}]},{"@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%9c%a8%e5%ae%89%e8%a3%85mariadb%e5%88%b0%e6%a0%91%e8%8e%93%e6%b4%be%e4%b8%8a%e6%97%b6%e7%9a%84%e5%a4%87%e5%bf%98%e5%bd%95%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28518","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=28518"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28518\/revisions"}],"predecessor-version":[{"id":83278,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28518\/revisions\/83278"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}