{"id":28527,"date":"2023-05-20T05:43:36","date_gmt":"2024-03-05T18:55:45","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/"},"modified":"2025-08-12T08:39:59","modified_gmt":"2025-08-12T00:39:59","slug":"%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/","title":{"rendered":"\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew"},"content":{"rendered":"<p>\u7a0d\u5fae\u603b\u7ed3\u4e86\u4e00\u4e0b\u5c1d\u8bd5\u5728Macbook\u4e0a\u5b89\u88c5MariaDB\u7684\u7ecf\u5386\u3002<\/p>\n<p>\u9996\u5148\uff0c\u786e\u8ba4\u4e00\u4e0b\u6211\u4eec\u4e00\u76f4\u4f9d\u8d56\u7684 homebrew \u4e2d\u662f\u5426\u6709\u8fd9\u4e2a\u8f6f\u4ef6\u5305\u3002<\/p>\n<pre class=\"post-pre\"><code>$ brew update\r\n\r\n$ brew search mariadb\r\nmariadb\r\n\r\n$ brew info mariadb\r\nmariadb: stable 10.0.12 (bottled)\r\n<blockquote class=\"wp-embedded-content\" data-secret=\"SCBIO8ASmV\"><a href=\"https:\/\/mariadb.org\/\">MariaDB Foundation<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;MariaDB Foundation&#8221; &#8212; MariaDB.org\" src=\"https:\/\/mariadb.org\/embed\/#?secret=MUamlq1L2F#?secret=SCBIO8ASmV\" data-secret=\"SCBIO8ASmV\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\r\nConflicts with: mysql, mysql-cluster, mysql-connector-c, percona-server\r\nNot installed\r\nFrom: https:\/\/github.com\/Homebrew\/homebrew\/blob\/master\/Library\/Formula\/mariadb.rb\r\n==&gt; Dependencies\r\nBuild: cmake \u2718\r\n==&gt; Options\r\n--enable-local-infile\r\n        Build with local infile loading support\r\n--universal\r\n        Build a universal binary\r\n--with-archive-storage-engine\r\n        Compile with the ARCHIVE storage engine enabled\r\n--with-bench\r\n        Keep benchmark app when installing\r\n--with-blackhole-storage-engine\r\n        Compile with the BLACKHOLE storage engine enabled\r\n--with-embedded\r\n        Build the embedded server\r\n--with-libedit\r\n        Compile with editline wrapper instead of readline\r\n--with-tests\r\n        Keep test when installing\r\n==&gt; Caveats\r\nA \"\/etc\/my.cnf\" from another install may interfere with a Homebrew-built\r\nserver starting up correctly.\r\n\r\nTo connect:\r\n    mysql -uroot\r\n\r\nTo have launchd start mariadb at login:\r\n    ln -sfv \/usr\/local\/opt\/mariadb\/*.plist ~\/Library\/LaunchAgents\r\nThen to load mariadb now:\r\n    launchctl load ~\/Library\/LaunchAgents\/homebrew.mxcl.mariadb.plist\r\nOr, if you don't want\/need launchctl, you can just run:\r\n    mysql.server start\r\n<\/code><\/pre>\n<p>\u8003\u8651\u5230MariaDB\u4e5f\u786e\u5b9e\u5728homebrew\u4e2d\u8fdb\u884c\u4e86\u51c6\u5907\uff0c\u56e0\u6b64\u6211\u4f1a\u611f\u6fc0\u5730\u4f7f\u7528homebrew\u5b89\u88c5\u3002<\/p>\n<pre class=\"post-pre\"><code>$ brew install mariadb\r\n==&gt; Downloading https:\/\/downloads.sf.net\/project\/machomebrew\/Bottles\/mariadb-10.0.12.mavericks.bottle.1.tar.gz\r\nAlready downloaded: \/Library\/Caches\/Homebrew\/mariadb-10.0.12.mavericks.bottle.1.tar.gz\r\n==&gt; Pouring mariadb-10.0.12.mavericks.bottle.1.tar.gz\r\n==&gt; Caveats\r\nA \"\/etc\/my.cnf\" from another install may interfere with a Homebrew-built\r\nserver starting up correctly.\r\n\r\nTo connect:\r\n    mysql -uroot\r\n\r\nTo have launchd start mariadb at login:\r\n    ln -sfv \/usr\/local\/opt\/mariadb\/*.plist ~\/Library\/LaunchAgents\r\nThen to load mariadb now:\r\n    launchctl load ~\/Library\/LaunchAgents\/homebrew.mxcl.mariadb.plist\r\nOr, if you don't want\/need launchctl, you can just run:\r\n    mysql.server start\r\n\r\nWARNING: launchctl will fail when run under tmux.\r\n==&gt; Summary\r\n?  \/usr\/local\/Cellar\/mariadb\/10.0.12: 519 files, 125M\r\n<\/code><\/pre>\n<p>\u5b89\u88c5\u5b8c\u6210\u4e86\u3002\uff08\u6bcf\u6b21\u90fd\u60f3\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u51fa\u73b0\u7684\u90a3\u4e2a\u5564\u9152\u6807\u5fd7\u662f\u4ec0\u4e48\u610f\u601d\u5462&#8230;\uff09<\/p>\n<h1>MariaDB \u7684\u6700\u4f4e\u9650\u5ea6\u8bbe\u7f6e\u662f mysql_secure_installation\u3002<br \/>\n\u53ef\u4ee5\u901a\u8fc7homebrew\u7b49\u65b9\u5f0f\u5b89\u88c5\u7684mariadb\uff0c\u4f46\u4e3a\u4e86\u8fdb\u884c\u6700\u57fa\u672c\u7684\u5b89\u5168\u8bbe\u7f6e\uff0c\u5efa\u8bae\u6267\u884cmysql_secure_installation\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>NOTE: 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\nEnter current password for root (enter for none):\r\n<\/code><\/pre>\n<p>\u6839\u76ee\u5f55\u7684\u5bc6\u7801\uff08\u9ed8\u8ba4\u4e3a\u7a7a\uff0c\u53ef\u4ee5\u76f4\u63a5\u6309\u56de\u8f66\u952e\uff09<\/p>\n<pre class=\"post-pre\"><code>Enter 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\nChange the root password? [Y\/n] &lt;-- root \u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u5909\u66f4\u3059\u308b\u306a\u3089 y \u3067 Enter\r\n\r\nNew password:  &lt;-- \u4f55\u304b\u30d1\u30b9\u30ef\u30fc\u30c9\r\nRe-enter new password: &lt;-- \u3082\u3046\u4e00\u56de\r\n<\/code><\/pre>\n<p>\u5728\u8fd9\u91cc\u66f4\u6539root\u7528\u6237\u7684\u5bc6\u7801<\/p>\n<pre class=\"post-pre\"><code>By 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] \r\n<\/code><\/pre>\n<p>\u533f\u540d\u7528\u6237\uff08\u533f\u540d\u30e6\u30fc\u30b6\uff09\u5220\u9664\u5417\uff1f\u51fa\u4e8e\u5b89\u5168\u8003\u8651\uff0c\u4e5f\u59d1\u4e14\u5220\u9664\u4e3a\u7a7a\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code>Normally, 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] \r\n<\/code><\/pre>\n<p>\u6839\u636e\u60a8\u7684\u63cf\u8ff0\uff0c\u6211\u8ba4\u4e3a\u60a8\u60f3\u8981\u5c06root\u7528\u6237\u9650\u5236\u4e3a\u4ec5\u4ece\u672c\u5730\u4e3b\u673a\u8fde\u63a5\u3002\u662f\u7684\uff0c\u8fd9\u662f\u53ef\u4ee5\u5b9e\u73b0\u7684\u3002\u672c\u5730\u4e13\u7528\u7684root\u7528\u6237\u9650\u5236\u5728\u4ec5\u4ece\u672c\u5730\u4e3b\u673a\uff08localhost\uff09\u8fdb\u884c\u8fde\u63a5\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u5c06\u5176\u7559\u7a7a\u5e76\u6309Enter\u952e\u8fdb\u5165\u3002<\/p>\n<pre class=\"post-pre\"><code>By 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] \r\n<\/code><\/pre>\n<p>\u9ed8\u8a8d\u60c5\u51b5\u4e0b\u5b58\u5728\u540d\u4e3atest\u7684\u6570\u636e\u5e93\uff0c\u4f46\u662f\u56e0\u4e3a\u4e0d\u9700\u8981\u800c\u5e0c\u671b\u4fdd\u6301\u4e3a\u7a7a\uff0c\u8bf7\u8f93\u5165test\u540e\u5220\u9664\u6570\u636e\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code>Reloading 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]\r\n<\/code><\/pre>\n<p>\u5f53\u7a7a\u767d\u7684\u65f6\u5019\uff0c\u6309\u4e0bEnter\u952e\u6765\u5e94\u7528\u8bbe\u7f6e\u7684\u8bdd&#8230;<\/p>\n<pre class=\"post-pre\"><code>Cleaning 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\n<\/code><\/pre>\n<p>\u51c6\u5907\u5de5\u4f5c\u5b8c\u6210\uff01\u8981\u542f\u52a8\uff0c\u8bf7\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u3002<\/p>\n<pre class=\"post-pre\"><code>&gt; mysql -u root -p\r\nEnter password: \r\n<\/code><\/pre>\n<p>\u5f53\u8f93\u5165\u6b64\u547d\u4ee4\u5e76\u8f93\u5165\u8bbe\u7f6e\u7684\u5bc6\u7801\u65f6<\/p>\n<pre class=\"post-pre\"><code>Welcome to the MariaDB monitor.  Commands end with ; or \\g.\r\nYour MariaDB connection id is 27\r\nServer version: 10.0.12-MariaDB Homebrew\r\n\r\nCopyright (c) 2000, 2014, Oracle, SkySQL 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>\u4ece\u8fd9\u91cc\u53ef\u4ee5\u786e\u8ba4\u662f\u5426\u80fd\u591f\u6b63\u786e\u8fde\u63a5\u5230mariadb\u3002<\/p>\n<h1>\u4f7f\u7528Homebrew\u5b89\u88c5\u7684MariaDB\u7684my.conf\u6587\u4ef6\u7684\u4f4d\u7f6e\u3002\u4f7f\u7528\u547d\u4ee4\u67e5\u627e\u8def\u5f84\uff0c\u7ed3\u679c\u5982\u4e0b\uff1a<\/p>\n<pre class=\"post-pre\"><code>&gt; mysql --help | grep cnf \r\n\r\n\/etc\/my.cnf \/etc\/mysql\/my.cnf \/usr\/local\/etc\/my.cnf ~\/.my.cnf \r\n                      order of preference, my.cnf, $MYSQL_TCP_PORT,\r\n<\/code><\/pre>\n<p>\u5b9e\u9645\u4e0a\uff0chomebrew\u5b89\u88c5\u7684mariadb\u7684\u914d\u7f6e\u6587\u4ef6\u5b58\u5728\u4e8e\/usr\/local\/etc\/my.cnf\u4e2d\u3002<\/p>\n<p>\u5b9e\u9645\u4e0a\u770b\u770b\u91cc\u9762\u7684\u5185\u5bb9&#8230;<\/p>\n<pre class=\"post-pre\"><code>#\r\n# This group is read both both by the client and the server\r\n# use it for options that affect everything\r\n#\r\n[client-server]\r\n\r\n#\r\n# include all files from the config directory\r\n#\r\n!includedir \/usr\/local\/etc\/my.cnf.d\r\n<\/code><\/pre>\n<p>\u4f5c\u4e3a\u89c4\u77e9\uff0c\u8bf7\u5c06\u8bbe\u7f6e\u6587\u4ef6\u653e\u5728 \/usr\/local\/etc\/my.cnf.d \u6587\u4ef6\u5939\u4e2d\u3002<\/p>\n<h1>\u6211\u7684.conf\u6587\u4ef6\u57fa\u672c\u914d\u7f6e\u6587\u4ef6\u7b49\u3002\u5c31\u50cfMySQL\u4e00\u6837\uff0c\u9884\u5148\u51c6\u5907\u4e86\u4f5c\u4e3a\u81ea\u5df1my.cnf\u57fa\u672c\u6587\u4ef6\u7684\u6587\u4ef6\u3002<\/p>\n<pre class=\"post-pre\"><code>&gt; ls $(brew --prefix mariadb)\/support-files\/my-* \r\n\r\n\/usr\/local\/opt\/mariadb\/support-files\/my-huge.cnf             \/usr\/local\/opt\/mariadb\/support-files\/my-medium.cnf\r\n\/usr\/local\/opt\/mariadb\/support-files\/my-innodb-heavy-4G.cnf  \/usr\/local\/opt\/mariadb\/support-files\/my-small.cnf\r\n\/usr\/local\/opt\/mariadb\/support-files\/my-large.cnf\r\n<\/code><\/pre>\n<p>\u5982\u679c\u9700\u8981\u51c6\u5907\u8fd9\u6837\u7684\u57fa\u4e8e MySQL \u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u8bf7\u5c06\u8be5\u6587\u4ef6\u590d\u5236\u5230 \/usr\/local\/etc\/my.cnf.d \u6587\u4ef6\u5939\u53ca\u5176\u5b50\u6587\u4ef6\u5939\u4e2d\uff0c\u5e76\u6dfb\u52a0\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u3002<\/p>\n<h1>\u5173\u4e8e\u591a\u8bed\u8a00\u652f\u6301\u3002<br \/>\n\u5f53\u5b9e\u9645\u4ecehomebrew\u5b89\u88c5\u7684mariadb\u7684\u8bed\u8a00\u8bbe\u7f6e\u5982\u4f55\uff0c\u8fdb\u884c\u8c03\u67e5\u53d1\u73b0\u3002\u3002\u3002<\/p>\n<pre class=\"post-pre\"><code>MariaDB [(none)]&gt; show variables like 'char%';\r\n+--------------------------+---------------------------------------------------------+\r\n| Variable_name            | Value                                                   |\r\n+--------------------------+---------------------------------------------------------+\r\n| character_set_client     | utf8                                                    |\r\n| character_set_connection | utf8                                                    |\r\n| character_set_database   | utf8                                                    |\r\n| character_set_filesystem | binary                                                  |\r\n| character_set_results    | utf8                                                    |\r\n| character_set_server     | utf8                                                    |\r\n| character_set_system     | utf8                                                    |\r\n| character_sets_dir       | \/usr\/local\/Cellar\/mariadb\/10.0.12\/share\/mysql\/charsets\/ |\r\n+--------------------------+---------------------------------------------------------+\r\n8 rows in set (0.00 sec)\r\n<\/code><\/pre>\n<p>\u4ece\u4e00\u5f00\u59cb\uff0c\u4f3c\u4e4e\u5c31\u662futf8\u7f16\u7801\uff0c\u6240\u4ee5\u4e0d\u9700\u8981\u6dfb\u52a0\u4efb\u4f55\u8bbe\u7f6e\u5c31\u53ef\u4ee5\u663e\u793a\u65e5\u8bed\u3002<br \/>\n\u5982\u679ccharacter_set_server\u8bbe\u7f6e\u4e3alatin1\u7684\u8bdd\uff08\u5728CentOS\u6216Debian\u4e0a\u5b89\u88c5\u65f6\uff0c\u9ed8\u8ba4\u53ef\u80fd\u662flatin1\u7f16\u7801\u2026\u2026\uff09\uff0c\u9700\u8981\u5728\u914d\u7f6e\u6587\u4ef6\uff08\u5982my.cnf\uff09\u4e2d\u8fdb\u884c\u76f8\u5e94\u8bbe\u7f6e\u3002<\/p>\n<pre class=\"post-pre\"><code>[mysqld] &lt;-- mysqld \u306e\u7b87\u6240\u3092\u63a2\u3057\u3066\r\ncharacter-set-server = utf8 &lt;-- \u3053\u306e\u8a2d\u5b9a\u3092\u52a0\u3048\u308b\r\n<\/code><\/pre>\n<p>\u5982\u679c\u66f4\u6539(\u6dfb\u52a0)\u4e86\u8bbe\u7f6e\u7684\u8bdd\uff0c\u8bf7\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u91cd\u65b0\u542f\u52a8\u3002<\/p>\n<pre class=\"post-pre\"><code>&gt; mysql.server restart\r\nShutting down MySQL\r\n.. SUCCESS! \r\nStarting MySQL\r\n. SUCCESS! \r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7a0d\u5fae\u603b\u7ed3\u4e86\u4e00\u4e0b\u5c1d\u8bd5\u5728Macbook\u4e0a\u5b89\u88c5MariaDB\u7684\u7ecf\u5386\u3002 \u9996\u5148\uff0c\u786e\u8ba4\u4e00\u4e0b\u6211\u4eec\u4e00\u76f4\u4f9d\u8d56\u7684 homebrew [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227],"class_list":["post-28527","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\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"\u5173\u4e8e\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\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\u4e2d\u56fd\u5b89\u88c5mariadb\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\" \/>\n<meta property=\"og:description\" content=\"\u5173\u4e8e\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u7684\u6280\u672f\u6587\u7ae0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u5728\u4e2d\u56fd\u5b89\u88c5mariadb\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-05T18:55:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-12T00:39:59+00:00\" \/>\n<meta name=\"author\" content=\"\u6e05, \u626c\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u6e05, \u626c\" \/>\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%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/\",\"name\":\"\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2024-03-05T18:55:45+00:00\",\"dateModified\":\"2025-08-12T00:39:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461\"},\"description\":\"\u5173\u4e8e\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u7684\u6280\u672f\u6587\u7ae0\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%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\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\"}]},{\"@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\/cb5556d2501da73d864cac945e8d9461\",\"name\":\"\u6e05, \u626c\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g\",\"caption\":\"\u6e05, \u626c\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew - Blog - Silicon Cloud","description":"\u5173\u4e8e\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\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\u4e2d\u56fd\u5b89\u88c5mariadb\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u3002\/","og_locale":"zh_CN","og_type":"article","og_title":"\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew","og_description":"\u5173\u4e8e\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u7684\u6280\u672f\u6587\u7ae0","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u5728\u4e2d\u56fd\u5b89\u88c5mariadb\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-05T18:55:45+00:00","article_modified_time":"2025-08-12T00:39:59+00:00","author":"\u6e05, \u626c","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u6e05, \u626c","\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%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/","name":"\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2024-03-05T18:55:45+00:00","dateModified":"2025-08-12T00:39:59+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/cb5556d2501da73d864cac945e8d9461"},"description":"\u5173\u4e8e\u5728\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew\u7684\u6280\u672f\u6587\u7ae0","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%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\u4e2d\u56fd\u5b89\u88c5MariaDB\u7684\u65b9\u6cd5\u662f\u901a\u8fc7homebrew"}]},{"@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\/cb5556d2501da73d864cac945e8d9461","name":"\u6e05, \u626c","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/32a4239de8ff29adace466261d309424a1e5fe9f7e3036bf89fe03f2e3dbe717?s=96&d=mm&r=g","caption":"\u6e05, \u626c"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/qingyang\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e5%9c%a8%e4%b8%ad%e5%9b%bd%e5%ae%89%e8%a3%85mariadb%e7%9a%84%e6%96%b9%e6%b3%95%e6%98%af%e9%80%9a%e8%bf%87homebrew%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\/28527","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\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=28527"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28527\/revisions"}],"predecessor-version":[{"id":111341,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/28527\/revisions\/111341"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=28527"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=28527"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=28527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}