{
  "version": "https://jsonfeed.org/version/1", 
  "title": "MySQL", 
  "description": "\u5730\u7403\u4e0a\u6700\u6d41\u884c\u7684\u5173\u7cfb\u6570\u636e\u5e93\u3002\u88ab\u5927\u91cf\u7684\u4e92\u8054\u7f51\u4f01\u4e1a\u8fd0\u7528\u5728\u7f51\u7ad9\u9879\u76ee\u4e2d\u3002\u5177\u6709\u975e\u5e38\u4e30\u5bcc\u7684\u751f\u6001\u7cfb\u7edf\u3002", 
  "home_page_url": "https://www.v2ex.com/go/mysql", 
  "feed_url": "https://www.v2ex.com/feed/mysql.json", 
  "icon": "https://cdn.v2ex.com/navatar/7f39/f831/61_large.png?m=1659331290", 
  "favicon": "https://cdn.v2ex.com/navatar/7f39/f831/61_normal.png?m=1659331290", 
  "items": [
    {
      "author": {
        "url": "https://www.v2ex.com/member/Leeyon", 
        "name": "Leeyon", 
        "avatar": "https://cdn.v2ex.com/avatar/c222/c4c8/520211_large.png?m=1761722098"
      }, 
      "url": "https://www.v2ex.com/t/1169174", 
      "date_modified": "2025-10-29T08:12:55+00:00", 
      "content_html": "\u6211\u7535\u8111\u5b89\u88c5\u4e86 mysql8.0.44 \uff0c\u5728\u5f00\u673a\u81ea\u542f\u52a8\u4e4b\u540e\uff0c\u5982\u679c\u6267\u884c\u4ee3\u7801\u6216\u4f7f\u7528\u8f6f\u4ef6\u67e5\u8be2\u6570\u636e\u5e93\u6570\u636e\uff0cmysql \u670d\u52a1\u5c31\u4f1a\u7a81\u7136\u5d29\u6e83\uff0c\u4e4b\u540e\u624b\u52a8\u53bb service \u91cc\u9762\u91cd\u542f\u5c31\u4e0d\u4f1a\u518d\u51fa\u73b0\u8fd9\u4e2a\u60c5\u51b5\u4e86\uff0c\u6211\u770b\u4e86 mysql \u7684\u9519\u8bef\u65e5\u5fd7\uff0c\u6ca1\u770b\u5230\u62a5\u9519\u4fe1\u606f\uff0c\u7136\u540e\u6211\u53c8\u770b\u4e86 windows \u4e8b\u4ef6\u67e5\u770b\u5668\uff0c\u62a5\u9519\u4fe1\u606f\u5982\u4e0b\uff1a<br />\u51fa\u9519\u5e94\u7528\u7a0b\u5e8f\u540d\u79f0\uff1amysqld.exe \uff0c\u7248\u672c\uff1a8.4.6.0 \uff0c\u65f6\u95f4\u6233\uff1a0x686fee22 \u51fa\u9519\u6a21\u5757\u540d\u79f0\uff1antdll.dll \uff0c \u7248\u672c\uff1a10.0.26100.4768 \uff0c\u65f6\u95f4\u6233\uff1a0x95c61958 \u5f02\u5e38\u4ee3\u7801\uff1a0xc0000374 \u9519\u8bef\u504f\u79fb\uff1a0x000000000011dc45 \u51fa\u9519\u8fdb\u7a0b ID\uff1a0x8494 \u51fa\u9519\u5e94\u7528\u7a0b\u5e8f\u5f00\u59cb\u65f6\u95f4\uff1a0x1DC17CFFB03AFB6 Faulting \u5e94\u7528\u7a0b\u5e8f\u8def\u5f84\uff1aD:\\snerp\\mysql-8.4.6-winx64\\bin\\mysqld.exe Faulting \u6a21\u5757\u8def\u5f84\uff1aC:\\WINDOWS\\SYSTEM32\\ntdll.dll Report ID\uff1ad2264a2e-0def-400b-a9ad-5ca51767f963 Faulting \u5305\u5168\u540d\uff1aFaulting \u7a0b\u5e8f\u5305\u76f8\u5bf9\u5e94\u7528\u7a0b\u5e8f ID\uff1a \u4e2a<br /><br />\u6211\u5b89\u88c5\u4e86\u5f88\u591a\u4e2a mysql \u7248\u672c\u90fd\u4f1a\u51fa\u73b0\u8fd9\u4e2a\u95ee\u9898\uff0c\u4f46\u662f\u6211\u6ca1\u6709\u52a8\u8fc7 mysql \u7684\u914d\u7f6e\u6587\u4ef6\uff0c\u90fd\u662f\u9ed8\u8ba4\uff1b<br />\u6709\u5927\u4f6c\u77e5\u9053\u662f\u4ec0\u4e48\u539f\u56e0\u5417\uff1f\uff08\ud83d\ude2d\uff09", 
      "date_published": "2025-10-29T07:21:44+00:00", 
      "title": "\u8bf7\u6559\u5927\u5bb6\u4e00\u4e2a\u5173\u4e8e mysql \u670d\u52a1\u5d29\u6e83\u7684\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1169174"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/KingCoding", 
        "name": "KingCoding", 
        "avatar": "https://cdn.v2ex.com/avatar/5f5b/a963/712417_large.png?m=1760797082"
      }, 
      "url": "https://www.v2ex.com/t/1166678", 
      "title": "\u6570\u636e\u5e93\u8fde\u63a5\u6570\u8d85\u4e86\u5982\u4f55\u89e3\u51b3", 
      "id": "https://www.v2ex.com/t/1166678", 
      "date_published": "2025-10-18T14:19:22+00:00", 
      "content_html": "<p><strong>\u80cc\u666f</strong>\uff1a\u672c\u4eba\u4e00\u5e74\u5de6\u53f3 java \u5f00\u53d1\u5de5\u4f5c\u7ecf\u9a8c\uff0c\u5728\u4e00\u5bb6\u5c0f\u516c\u53f8\u5e72\u5f00\u53d1\uff0c\u6570\u636e\u5e93\u4f7f\u7528\u7684\u662f MySQL,\u914d\u7f6e\u57fa\u672c\u4e0a\u90fd\u662f\u9ed8\u8ba4\uff0c\u5e94\u7528\u7aef\u6570\u636e\u5e93\u8fde\u63a5\u6c60\u4f7f\u7528\u7684\u662f HikariCP \uff0c\u4e5f\u914d\u7f6e\u4e86\u4e00\u4e9b\u53c2\u6570\uff0c\u6700\u8fd1\u6d4b\u8bd5\u73af\u5883\u9047\u5230\u8fde\u63a5\u6570\u8d85\u7684\u60c5\u51b5\u3002\u5728\u7f51\u4e0a\u67e5\u8be2\u4e86\u4e00\u4e9b\u65b9\u6cd5\u770b\u7740\u6709\u70b9\u8ff7\u3002</p>\n<p><strong>\u5c1d\u8bd5\u89e3\u51b3</strong>\uff1a</p>\n<pre><code>1 \u3001\u8c03\u6574\u6570\u636e\u5e93\u7684 max_connections\n\n2 \u3001\u7f29\u77ed\u7cfb\u7edf\u8bbe\u7f6e\u7684\u8fde\u63a5\u6570\u7684\u6e05\u9664\u65f6\u95f4\n\n3 \u3001\u6839\u672c\u539f\u56e0\uff1a\u5b58\u5728\u957f\u8fde\u63a5\u3001\u6162 SQL \u7b49\u5360\u7528\u8fde\u63a5\u4e0d\u91ca\u653e\u7684\u60c5\u51b5\n</code></pre>\n<p><strong>\u7591\u95ee</strong>\uff1a\u6ca1\u6709\u8fd9\u65b9\u9762\u7684\u7ecf\u9a8c\uff0c\u8bf7\u6559\u5404\u4f4d\u524d\u8f88\u7b2c\u4e8c\u6761\u6570\u636e\u5e93\u9ed8\u8ba4\u662f 8 \u5c0f\u65f6\uff0c\u662f\u5426\u5efa\u8bae\u8c03\u6574\u5462\uff1f\u6216\u8005\u8fd9\u4e2a\u95ee\u9898\u4f1a\u4e0d\u4f1a\u8fd8\u5b58\u5728\u5176\u4ed6\u7684\u539f\u56e0\u5462\uff1f\u4ee5\u53ca\u5982\u4f55\u6392\u67e5\u5462\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/supersf", 
        "name": "supersf", 
        "avatar": "https://cdn.v2ex.com/avatar/ca9d/c893/123257_large.png?m=1757588541"
      }, 
      "url": "https://www.v2ex.com/t/1158628", 
      "title": "count \u7684\u8bed\u53e5\u4f18\u5316\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1158628", 
      "date_published": "2025-09-11T11:02:45+00:00", 
      "content_html": "\u6700\u8fd1\u5728 mysql \u4e2d\u505a\u4e86\u4e00\u4e2a\u67e5\u8be2<br /><br />select count(*) from<br />(select a,b,count(distinct c) from table group by a,b having count(distinct c)&gt;=2) as t<br /><br />\u628a mysql \u5e93\u8dd1\u6b7b\u6389\u4e86<br /><br />\u8bf7\u6559\u4e0b\u6709\u4ec0\u4e48\u53ef\u4ee5\u4f18\u5316\u7684\u7a7a\u95f4\uff1f<br />\u76ee\u524d\u60f3\u5230\u7684\u662f\u4e0b\u9762<br /><br />select count(*) from<br />(select a,b from table group by a,b having count(distinct c)&gt;=2) as t"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/toomwan", 
        "name": "toomwan", 
        "avatar": "https://cdn.v2ex.com/gravatar/3dbb50857dffe25f8fbac374ab0857d2?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1155626", 
      "title": "\u8fde\u63a5 MySQL \u5f88\u6162\u7684\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1155626", 
      "date_published": "2025-08-28T12:19:20+00:00", 
      "content_html": "<p>mysql \u5b89\u88c5\u5728 Linux \u4e0a\uff0c\n\u5728\u4e00\u6b21\u7a81\u7136\u65ad\u7535\u540e\uff0c\u5c40\u57df\u7f51\u5185\u7684\u7684\u5176\u5b83\u673a\u5668\u8fde\u63a5\uff08 jdbc \uff09\u8fd9\u4e2a\u6570\u636e\u5e93\u5c31\u9700\u8981\u5f88\u957f\u65f6\u95f4\u624d\u80fd\u8fde\u63a5\u4e0a\uff0c\u8fde\u4e0a\u4e4b\u540e\u67e5\u8be2\u6570\u636e\u5374\u5f88\u5feb\uff0c\u8fd9\u53ef\u80fd\u662f\u54ea\u7684\u539f\u56e0\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/Alucns", 
        "name": "Alucns", 
        "avatar": "https://cdn.v2ex.com/avatar/2fd8/8827/31303_large.png?m=1749109527"
      }, 
      "url": "https://www.v2ex.com/t/1155131", 
      "title": "MYSQL UPDATE \u5728\u5f88\u77ed\u7684\u65f6\u95f4\u5185\u66f4\u65b0\u76f8\u540c\u7684\u8bed\u53e5\uff0c\u5c31\u4f1a\u6709\u544a\u8b66\uff0c\u5bfc\u81f3\u4e8b\u52a1\u5931\u8d25\uff0c\u6709\u6ca1\u6709\u4eba\u9047\u5230\u8fd9\u95ee\u9898\uff1f", 
      "id": "https://www.v2ex.com/t/1155131", 
      "date_published": "2025-08-26T14:26:07+00:00", 
      "content_html": "MYSQL UPDATE \u5728\u5f88\u77ed\u7684\u65f6\u95f4\u5185\u66f4\u65b0\u76f8\u540c\u7684\u8bed\u53e5\uff0c\u5c31\u4f1a\u6709\u544a\u8b66\uff0c\u5bfc\u81f3\u4e8b\u52a1\u5931\u8d25\uff0c\u6709\u6ca1\u6709\u4eba\u9047\u5230\u8fd9\u95ee\u9898\uff1f<br /><br />\u5982\uff1aUPDATE `api_wallet` SET `credits`=`credits`+'1087.77', `cost`=`cost`+'151.23' WHERE `uid`='12';<br />Rows matched: 1  Changed: 1  Warnings: 1<br />mysqli_warning Object<br />(<br />[message] =&gt; Data truncated for column 'credits' at row 1<br />[sqlstate] =&gt; HY000<br />[errno] =&gt; 1265<br />)"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/JiangZeYi", 
        "name": "JiangZeYi", 
        "avatar": "https://cdn.v2ex.com/avatar/ccd0/4c02/561360_large.png?m=1756188154"
      }, 
      "url": "https://www.v2ex.com/t/1155028", 
      "date_modified": "2025-08-26T06:42:59+00:00", 
      "content_html": "<h1>\u95ee\u9898</h1>\n<p>MySQL \u662f\u8dd1\u5728 Docker \u4e0a\uff0c\u5728\u67d0\u6bb5\u65f6\u95f4\u5185 MySQL \u78c1\u76d8\u8bfb\u53d6\u98d9\u5347\uff0c\u5bfc\u81f4\u670d\u52a1\u5668\u5361\u6b7b\u3002</p>\n<p>\u8fd9\u662f\u56e0\u4e3a\u67e5\u8be2\u626b\u63cf\u884c\u6570\u8fc7\u591a\u5bfc\u81f4\u7684\u78c1\u76d8\u8bfb\u53d6\u98d9\u5347\u5417\uff1f\u8fd8\u662f\u6709\u5176\u4ed6\u539f\u56e0\u3002</p>\n<p>\u78c1\u76d8\u8bfb\u53d6\u98d9\u5347\u7684\u95ee\u9898\u8be5\u5982\u4f55\u5f97\u5230\u89e3\u51b3\uff1f\u4f18\u5316\u67e5\u8be2 SQL \uff1f\u6362\u963f\u91cc\u4e91\u7684 RDS \uff1f</p>\n<p>\u6709\u5927\u4f6c\u80fd\u89e3\u7b54\u4e0b\u5417\uff1f</p>\n<h1>\u670d\u52a1\u5668\u914d\u7f6e</h1>\n<p>\u5b9e\u4f8b\u89c4\u683c\uff1aecs.c8i.xlarge</p>\n<p>CPU\uff1a4 \u6838 vCPU</p>\n<p>\u5185\u5b58\uff1a8G</p>\n<p>\u78c1\u76d8\uff1aESSD P1 40G</p>\n<h1>MySQL \u914d\u7f6e</h1>\n<pre><code>[mysqld]\nslow_query_log=ON\nlong_query_time=3\ninnodb_buffer_pool_size = 1536M\ninnodb_log_file_size=256M\ninnodb_log_buffer_size=32M\n</code></pre>\n<h1>\u76f8\u5173\u622a\u56fe</h1>\n<p>\u963f\u91cc\u76d1\u63a7\uff1a</p>\n<p><img alt=\"Po7PFJD\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.imgur.com/Po7PFJD.png\" title=\"Po7PFJD\"/></p>\n<p>ATOP \uff08 10 \u5206\u949f\uff09:</p>\n<p><img alt=\"NqFgFWr\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.imgur.com/NqFgFWr.png\" title=\"NqFgFWr\"/></p>\n<p><img alt=\"QLD3fDs\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.imgur.com/QLD3fDs.png\" title=\"QLD3fDs\"/></p>\n<p>\u6162 SQL \u65e5\u5fd7\uff1a</p>\n<p><img alt=\"yHquwHg\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.imgur.com/yHquwHg.png\" title=\"yHquwHg\"/></p>\n", 
      "date_published": "2025-08-26T06:34:35+00:00", 
      "title": "MySQL \u78c1\u76d8\u8bfb\u53d6\u98d9\u5347\uff0c\u5bfc\u81f4\u963f\u91cc\u4e91\u670d\u52a1\u5668\u5361\u6b7b", 
      "id": "https://www.v2ex.com/t/1155028"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/hwhtj", 
        "name": "hwhtj", 
        "avatar": "https://cdn.v2ex.com/avatar/c7a8/558c/100031_large.png?m=1770429207"
      }, 
      "url": "https://www.v2ex.com/t/1151931", 
      "title": "\u6c42 Macos \u4e0b\u9762 homebrew \u5b89\u88c5 mysql \u5230\u6307\u5b9a\u76ee\u5f55\u7684\u65b9\u6cd5", 
      "id": "https://www.v2ex.com/t/1151931", 
      "date_published": "2025-08-12T13:21:12+00:00", 
      "content_html": "\u4f7f\u7528 brew install mysql@ver \u5b89\u88c5\u7684\u8def\u5f84\u662f/opt/homebrew<br />\u5982\u4f55\u60f3\u529e\u6cd5\u628a mysql \u5b89\u88c5\u5230\u5982/Users/\u7528\u6237/Library/phpWebstudy/app/mysql \u8fd9\u6837\u7684\u76ee\u5f55\u4e2d<br />\u4f7f\u7528 brew install mysql@ver --prefix=/Users/\u7528\u6237/Library/phpWebstudy/app/mysql<br />\u63d0\u793a\"invalid option: --prefix=/Users/hwhsome/Library/phpWebstudy/app/mysql\"<br /><br />\u8bf4\u660e brew install \u547d\u4ee4\u6ca1\u6709--prefix \u8fd9\u4e2a\u9009\u9879"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/xhwdt", 
        "name": "xhwdt", 
        "avatar": "https://cdn.v2ex.com/gravatar/8da9f227ee22e64f32b2c74a6060510f?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1144270", 
      "title": "\u4f7f\u7528 EXISTS \u4f18\u5316 IN \u5b50\u67e5\u8be2", 
      "id": "https://www.v2ex.com/t/1144270", 
      "date_published": "2025-07-10T07:06:03+00:00", 
      "content_html": "<p>mysql8 IN \u548c EXISTS \u5b50\u67e5\u8be2\u4f1a\u81ea\u52a8\u8f6c\u5316\u4e3a join \u6216\u8005 semi-join \uff0c\u4e3a\u4ec0\u4e48 IN \u67e5\u8be2\u8fd8\u9700\u8981 EXISTS \u7b56\u7565\u4f18\u5316\uff1f\n\u9664\u4e86\u6709\u805a\u5408 HAVING \u8fd9\u4e2a\u4e0d\u80fd\u8f6c join \u7684\u786e\u5b9e\u7528 EXISTS \u6bd4\u8f83\u597d\uff0c\u5176\u4ed6\u7684\u597d\u50cf\u4f18\u5316\u5668\u8f6c\u5316\u540e\u7528 show warnings \u770b IN \u548c EXISTS \u8bed\u53e5\u662f\u4e00\u6837\u7684\u3002\u90a3\u8fd9\u7bc7\u5230\u5e95\u5728\u8bb2\u5565\uff1f <a href=\"https://dev.mysql.com/doc/refman/8.0/en/subquery-optimization-with-exists.html\" rel=\"nofollow\">https://dev.mysql.com/doc/refman/8.0/en/subquery-optimization-with-exists.html</a> \uff0c\u8fd8\u662f\u8bf4\u6211\u7406\u89e3\u9519\u4e86\u3002</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/byerer", 
        "name": "byerer", 
        "avatar": "https://cdn.v2ex.com/gravatar/daf1b5970f4d4784745397fc6d449c5a?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1143515", 
      "title": "\u4ec0\u4e48\u65f6\u5019\u53ef\u4ee5\u5c06 mysql \u9ed8\u8ba4\u9694\u79bb\u673a\u5236\u6539\u4e3a\u8bfb\u5df2\u63d0\u4ea4", 
      "id": "https://www.v2ex.com/t/1143515", 
      "date_published": "2025-07-07T06:49:56+00:00", 
      "content_html": "<p>\u65b0\u4e1a\u52a1\u9700\u8981\u5728\u4e8b\u52a1\u4e2d\u4f7f\u7528\u4e50\u89c2\u9501\uff0c\u5728 RR \u4e0b\u9700\u8981\u56de\u6eda\u91cd\u8bd5\u6574\u4e2a\u4e8b\u52a1\uff0c\u800c rc \u53ea\u9700\u8981\u91cd\u8bd5\u67d0\u4e00\u4e2a\u66f4\u65b0\uff0c\u6709\u5fc5\u8981\u6539\u6210 rc \u5417\uff0c\u5982\u4f55\u5224\u65ad\u4e1a\u52a1\u5728\u6ee1\u8db3\u4ec0\u4e48\u6761\u4ef6\u4e0b\u53ef\u4ee5\u4e0d\u4f9d\u8d56 rr \uff0c\u662f\u4e0d\u662f\u53ea\u8981\u4e0d\u4f9d\u8d56\u53ef\u91cd\u590d\u8bfb\u5c31\u884c</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/abbychau", 
        "name": "abbychau", 
        "avatar": "https://cdn.v2ex.com/avatar/22a2/9e24/363353_large.png?m=1751618008"
      }, 
      "url": "https://www.v2ex.com/t/1142073", 
      "title": "\u8de8\u5e73\u53f0\u7684 MySQL Parser", 
      "id": "https://www.v2ex.com/t/1142073", 
      "date_published": "2025-06-30T12:17:45+00:00", 
      "content_html": "\u6211\u525b\u641e\u597d\u4e86\u4e00\u500b MySQL \u89e3\u6790\u5668\uff0c\u4e4b\u5f8c\u6703\u7528\u5728 MIST \u88e1\u9762\u3002<br /><br />\u4e8b\u60c5\u662f\u9019\u6a23\u7684\uff1aTiDB \u7684 MySQL \u89e3\u6790\u5668\u662f\u76ee\u524d\u6700\u517c\u5bb9 MySQL \u7684\u89e3\u6790\u5668\u4e86\uff0c\u4f46\u5b83\u8981\u5b8c\u7f8e\u904b\u884c, \u8981\u4f9d\u8cf4\u4e00\u500b\u53eb \"parser\\_driver\" \u7684\u5305\u3002Parser Driver \u88e1\u9762\u6709 TiDB \u7684\u985e\u578b\uff0c\u4f46 TiDB \u5b98\u65b9\u8c8c\u4f3c\u4e0d\u6253\u7b97\u628a\u9019\u4e9b\u8ddf TiDB \u7cfe\u7e8f\u5f88\u6df1\u7684 MySQL \u985e\u578b\u55ae\u7368\u62c6\u51fa\u4f86\u505a\u6210\u7368\u7acb\u7684 Go \u5305\u3002GitHub issue: 16381<br /><br />\u6211\u89ba\u5f97 TiDB \u73fe\u5728\u5c31\u662f\u628a\u6240\u6709\u958b\u6e90\u6a21\u7d44\u5168\u90e8\u6df7\u5728\u4e00\u8d77\uff0c\u641e\u6210\u4e00\u500b opininated monolith \u3002<br /><br />\u6211\u5728\u628a MIST \u79fb\u690d\u5230 WASM \u7684\u6642\u5019\uff0cTiDB \u7684\u7cfb\u7d71\u8abf\u7528\u6703\u88ab\u83ab\u540d\u5176\u5999\u5730\u5305\u9032\u4f86\u4e00\u8d77\u7de8\u8b6f\uff0c\u7d50\u679c\u5728\u7de8\u8b6f WASM \u7684\u6642\u5019\u975c\u614b\u93c8\u63a5\u5c31\u639b\u4e86\u3002<br /><br />\u6240\u4ee5\u6211\u82b1\u4e86\u5e7e\u5929\u628a\u73fe\u6709\u7684 parser \u5305\u548c parser driver \u7d66\u62c6\u51fa\u4f86\uff0c\u628a\u90a3\u4e9b\u7cfe\u7e8f\u4e0d\u6e05\u7684 TiDB \u985e\u578b\u91cd\u65b0\u6574\u7406\u6210\u4e00\u500b\u771f\u6b63\u80fd\u7528\u7684 MySQL \u89e3\u6790\u5668 Go \u5305\uff0c\u9019\u500b\u5305\u53ef\u4ee5\u8de8\u5e73\u53f0\u7de8\u8b6f\uff0c\u4e5f\u80fd\u79fb\u690d\u5230 WASM \u3002<br /><br />\u4ee3\u78bc\u5eab\uff1a <a target=\"_blank\" href=\"https://github.com/abbychau/mysql-parser\" rel=\"nofollow noopener\">https://github.com/abbychau/mysql-parser</a><br />\u5728\u7dda\u89e3\u6790\u5668\u6f14\u793a\uff1a <a target=\"_blank\" href=\"https://abbychau.github.io/mysql-parser/\" rel=\"nofollow noopener\">https://abbychau.github.io/mysql-parser/</a>"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/CooperB", 
        "name": "CooperB", 
        "avatar": "https://cdn.v2ex.com/gravatar/623b6d2fae189f1511af8caa22b5c559?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1141637", 
      "title": "MySQL \u5927\u8868\u6392\u5e8f\u6709\u4ec0\u4e48\u597d\u7684\u65b9\u6848\uff1f\u53ea\u80fd\u4e0a Mongo\uff1f", 
      "id": "https://www.v2ex.com/t/1141637", 
      "date_published": "2025-06-28T06:05:10+00:00", 
      "content_html": "<p>\u5927\u5bb6\u5bf9\u5927\u8868\u7684\u6392\u5e8f\u662f\u600e\u4e48\u4f18\u5316\u7684\uff1f\u76ee\u524d\u4e1a\u52a1\u4e0a\u6ca1\u6cd5\u4f18\u5316\uff0c\u53ea\u80fd\u67e5\u5168\u91cf\u6570\u636e\u4e14\u9700\u8981\u6839\u636e\u591a\u4e2a\u5b57\u6bb5\u6392\u5e8f\uff0c\u662f\u4e0d\u662f\u53ea\u80fd\u901a\u8fc7 Mongodb \u4e86\uff1f</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/WilliamColton", 
        "name": "WilliamColton", 
        "avatar": "https://cdn.v2ex.com/avatar/3a5e/dae7/552863_large.png?m=1750001532"
      }, 
      "url": "https://www.v2ex.com/t/1138738", 
      "date_modified": "2025-06-16T00:33:09+00:00", 
      "content_html": "<p>\u4e4b\u524d\u5728\u4f7f\u7528 Mybatis plus \u7684\u65f6\u5019\u4f7f\u7528\u4e86\u4e3b\u952e\u751f\u6210\u7b56\u7565 IdType.ASSIGN_ID \uff0c</p>\n<p>\u65b0\u589e\u884c\u7684\u4e3b\u952e\u503c\u90fd\u7279\u522b\u5927\uff0c\u7136\u540e\u5c31\u6539\u6210\u4e86\u6570\u636e\u5e93\u7684\u81ea\u589e\u7b56\u7565\uff0c</p>\n<p>\u4f46\u662f\u65b0\u589e\u884c\u7684 id \u8fd8\u662f\u7279\u522b\u5927\uff0c\u4e00\u770b\u539f\u6765\u662f AUTO_INCREMENT \u7684\u503c\u53d8\u6210\u4e86 1933814216852774914 \uff0c</p>\n<p>\u7136\u540e\u542c\u4e86 gpt \u7684\u4f7f\u7528 <code>ALTER TABLE \u8868\u540d AUTO_INCREMENT = 1</code> \u547d\u4ee4\u53bb\u4fee\u6539\u5176\u503c\uff0c</p>\n<p>\u4f46\u662f\u6539\u5b8c\u4e86\u4e00\u770b AUTO_INCREMENT \u8fd8\u662f\u7279\u522b\u5927\uff0c\u4e5f\u6ca1\u627e\u5230\u4ec0\u4e48\u8bf4\u660e\u6587\u6863\ud83e\udd79</p>\n<p>\u6545\u6765\u6c42\u6559\u5404\u4f4d v \u53cb</p>\n", 
      "date_published": "2025-06-15T15:40:30+00:00", 
      "title": "Mysql \u65e0\u6cd5\u4fee\u6539\u81ea\u589e\u4e3b\u952e\u7684 AUTO_INCREMENT \u503c", 
      "id": "https://www.v2ex.com/t/1138738"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/danaesoziommw49", 
        "name": "danaesoziommw49", 
        "avatar": "https://cdn.v2ex.com/gravatar/fb6ec572fa35491754633cbc06036e52?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1138433", 
      "date_modified": "2025-06-13T10:20:12+00:00", 
      "content_html": "\u539f\u673a\u5668\u662f \u5c0f\u578b NUC           i5-10310U     8C8G <br />\u5347\u7ea7\u540e\u662f \u534e\u4e3a 2288H-V5   \u91d1\u724c 6133*2  40C64G<br />\u6d4b\u8bd5\u4e24\u53f0\u8bbe\u5907\u78c1\u76d8\u8bfb\u5199\u90fd\u662f 500MB/s \u5de6\u53f3\uff0c\u7f51\u7edc\u4e5f\u90fd\u662f 1G \u3002<br />--- <br />\u4f46\u662f\u65b0\u7684\u673a\u5668\u67e5\u8be2\u6bd4\u539f\u673a\u5668\u66f4\u6162\u4e00\u500d\uff0cexplain \u8f93\u51fa\u7ed3\u679c\u53c8\u662f\u4e00\u6837\u7684\u3002<br />13w \u6570\u636e\u7684\u8868\uff0climit 500 \u90fd\u8981 5 \u79d2\u3002<br />\u6c42\u6392\u67e5\u601d\u8def\u3002", 
      "date_published": "2025-06-13T08:22:54+00:00", 
      "title": "\u5347\u7ea7\u670d\u52a1\u5668\u540e\uff0c mysql \u6027\u80fd\u53cd\u800c\u66f4\u6162\u4e86\uff0c\u6c42\u6392\u67e5\u601d\u8def", 
      "id": "https://www.v2ex.com/t/1138433"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/ZimaBlueee", 
        "name": "ZimaBlueee", 
        "avatar": "https://cdn.v2ex.com/avatar/4bd6/c5ae/635411_large.png?m=1771910015"
      }, 
      "url": "https://www.v2ex.com/t/1135741", 
      "title": "\u300a\u9ad8\u6027\u80fd MySQL\u300b\u7b2c\u4e09\u7248\uff1a\u662f\u5426\u5df2\u7ecf\u8fc7\u65f6\uff1f", 
      "id": "https://www.v2ex.com/t/1135741", 
      "date_published": "2025-06-01T11:58:01+00:00", 
      "content_html": "<p>5 \u5e74 Java \u540e\u7aef\u5f00\u53d1\uff0c\u4e00\u76f4\u6ca1\u6df1\u5165\u5b66\u4e60\u8fc7 MySQL \uff0c\u5e73\u65f6\u53ea\u662f\u4f7f\u7528\uff0c\u4e0d\u4e86\u89e3 MySQL \u539f\u7406\u6216\u8005\u6027\u80fd\u4f18\u5316\u3002</p>\n<p>\u641c\u4e86\u4e0b\u770b\u5230\u5f88\u591a\u4eba\u63a8\u8350\u300a\u9ad8\u6027\u80fd MySQL \u300b\u8fd9\u672c\u4e66\uff0c\u4f46\u53d1\u73b0\u51e0\u4e2a\u95ee\u9898\uff1a</p>\n<ul>\n<li>\u8fd9\u672c\u4e66\u7684\u7b2c\u4e09\u7248\u8bc4\u4ef7\u5f88\u9ad8\uff0c\u4f46\u662f\u57fa\u4e8e<strong>5.5</strong>\u5199\u7684\uff1b</li>\n<li>\u7b2c\u56db\u7248\u589e\u52a0\u4e86\u5927\u91cf\u5bf9 MySQL<strong>5.7</strong>\u548c<strong>8.0</strong>\u7248\u672c\u65b0\u7279\u6027\u7684\u4ecb\u7ecd\uff0c\u4f46\u662f\u8c46\u74e3\u4e0a\u7684\u8bc4\u4ef7\u8bf4\u7ffb\u8bd1\u7684\u4e0d\u597d\u3002</li>\n</ul>\n<p>\u8bf7\u95ee\u6709\u8bfb\u8fc7\u7684 V \u53cb\u63a8\u8350\u4e00\u4e0b\u73b0\u5728\u5b66\u4e60 MySQL \u8be5\u8bfb\u54ea\u672c\u4e66\u7c4d\uff0c\u6216\u8005\u54ea\u4e2a\u8001\u5e08\u7684\u89c6\u9891\u5462\uff1f</p>\n<p>\u8dea\u6c42\u89e3\u7b54\uff01</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/mikewang", 
        "name": "mikewang", 
        "avatar": "https://cdn.v2ex.com/avatar/b728/8030/81681_large.png?m=1683726911"
      }, 
      "url": "https://www.v2ex.com/t/1133409", 
      "date_modified": "2025-05-22T00:36:06+00:00", 
      "content_html": "<p>\u6628\u5929\u7684 <a href=\"/t/1133223\" rel=\"nofollow\">/t/1133223</a> \u5438\u5f15\u4e86\u5927\u5bb6\u4e0d\u5c11\u7684\u8ba8\u8bba\uff0c\u4eca\u5929\u6211\u6765\u8bf4\u4e00\u4e2a\u5de5\u4f5c\u4e0a\u9047\u5230\u7684\u95ee\u9898\u3002</p>\n<p>\u51c6\u786e\u5730\u8bf4\uff0c\u8fd9\u4e2a\u95ee\u9898\u662f MySQL \u5b57\u7b26\u96c6\u4e2d\u7684\u6821\u5bf9\u89c4\u5219\u51fa\u4e86 BUG \uff0c\u5b57\u7b26\u96c6\u672c\u8eab\u662f\u65e0\u8f9c\u7684\u3002</p>\n<p>\u8fd9\u4e2a bug \u73b0\u5728\u90fd\u8fd8\u5728\uff0c\u6b22\u8fce\u5927\u5bb6\u9a8c\u8bc1\u54c8\u3002</p>\n<hr/>\n<p>\u6545\u4e8b\u662f\u8fd9\u6837\u7684\u3002</p>\n<p>\u540c\u4e8b\u5728\u8fde MySQL \u5e93\u505a\u6d4b\u8bd5\u65f6\u53d1\u73b0\u4e86\u4e00\u4e2a\u8be1\u5f02\u7684\u73b0\u8c61\uff1a\u67e5\u4e0d\u5230\u5339\u914d\u7684\u6570\u636e\u3002</p>\n<p>\u76f8\u5173\u8bed\u53e5\u7b80\u5316\u5982\u4e0b\uff08\u4e3b\u952e\u7b49\u5b57\u6bb5\u5df2\u7701\u7565\uff09\uff1a</p>\n<pre><code class=\"language-sql\">create table t1 ( c1 varchar(16), key idx (c1) ) collate=utf8mb4_bin;\n\ninsert into t1 values ('000\\n'), ('123\\n'), ('abc\\n');\n\nselect * from t1 where c1 like 'abc%';\n</code></pre>\n<p>\u8fd9\u600e\u4e48\u770b\uff0c\u90fd\u5e94\u8be5\u5339\u914d\u51fa <code>'abc\\n'</code>\uff0c\u5bf9\u5427\uff1f</p>\n<p>\u4e8b\u5b9e\u60c5\u51b5\u662f\uff1a</p>\n<pre><code>mysql&gt; select * from t1 where c1 like 'abc%';\nEmpty set (0.00 sec)\n</code></pre>\n<p>\u5929\u584c\u4e86\uff0c\u67e5\u51fa\u6765\u7adf\u7136\u662f\u7a7a\u7684\u3002</p>\n<p>\u7136\u540e\u6211\u62ff\u540c\u6837\u7684\u8bed\u53e5\u5728 OceanBase \u4e0a\u8dd1\u4e86\u4e00\u4e0b\uff0c\u7adf\u7136\u4e5f\u662f\u7a7a\u3002\uff08\u4e24\u773c\u4e00\u9ed1\uff09</p>\n<hr/>\n<p>\u53ef\u80fd\u4f1a\u6709\u4eba\u8bf4\uff0c\u90a3\u80af\u5b9a\u662f\u4f60\u5199\u7684\u8bed\u53e5\u6709\u95ee\u9898\uff0c\u6216\u8005 utf8mb4_bin \u5c31\u8fd9\u6837\uff0c\u5427\u5566\u5427\u5566\u3002</p>\n<p>\u90a3\u5982\u679c\u8fd9\u6837\u5462\uff1a</p>\n<pre><code>mysql&gt; alter table t1 drop index idx;\nQuery OK, 0 rows affected (0.001 sec)\nRecords: 0  Duplicates: 0  Warnings: 0\n\nmysql&gt; select * from t1 where c1 like 'abc%';\n+------+\n| c1   |\n+------+\n| abc\n |\n+------+\n1 row in set (0.001 sec)\n</code></pre>\n<p>\u54ce\uff0c\u7d22\u5f15\u5220\u4e86\u5c31\u597d\u4e86\u3002</p>\n<p>\u603b\u4e0d\u80fd\u8bf4\uff0c\u52a0\u4e2a\u7d22\u5f15\uff0c\u80fd\u628a\u7ed3\u679c\u96c6\u641e\u6ca1\u5427\u3002\u90a3\u80af\u5b9a bug \u4e86\u3002</p>\n<hr/>\n<p>\u90a3\u5230\u5e95\u662f\u548b\u56de\u4e8b\u5462\uff1a\u5e26\u4e0a\u7d22\u5f15\uff0c\u6211\u4eec explain \u770b\u4e00\u4e0b\u3002</p>\n<pre><code>mysql&gt; explain format=tree select * from t1 where c1 like 'abc%' \\G\n*************************** 1. row ***************************\nEXPLAIN: -&gt; Filter: (t1.c1 like 'abc%')  (cost=0.46 rows=1)\n    -&gt; Covering index range scan on t1 using idx over ('abc' &lt;= c1 &lt;= 'abc?????????????')  (cost=0.46 rows=1)\n\n1 row in set (0.001 sec)\n</code></pre>\n<p>\u539f\u6765\u8fd9\u4e2a\u524d\u7f6e\u5339\u914d\uff0c\u56e0\u4e3a\u6709\u7d22\u5f15\uff0c\u4f18\u5316\u4e3a\u4e86\u8303\u56f4\u67e5\u8be2\u3002\u540e\u9762\u7684\u4e00\u4e32 <code>?</code> \u5176\u5b9e\u662f <code>0xff</code>\uff0c\u6ca1\u4ec0\u4e48\u95ee\u9898\u3002</p>\n<p>\u90a3\u770b\u4e0b <code>'abc\\n'</code> \u548c <code>'abc'</code> \u5462\uff1f</p>\n<pre><code>mysql&gt; set collation_connection=utf8mb4_bin;\nQuery OK, 0 rows affected (0.000 sec)\n\nmysql&gt; select 'abc\\n' &lt; 'abc';\n+-----------------+\n| 'abc\\n' &lt; 'abc' |\n+-----------------+\n|               1 |\n+-----------------+\n1 row in set (0.000 sec)\n</code></pre>\n<p>\u518d\u6b21\u4e24\u773c\u4e00\u9ed1\u3002\u6211\u5012\uff0c\u600e\u4e48\u4f1a\u8fd9\u6837\u3002\u8fd9\u662f\u4ec0\u4e48\u6392\u5e8f\u89c4\u5219\u3002\u770b\u4e0b utf8mb4_bin \u5427\u3002</p>\n<pre><code>mysql&gt; show collation like 'utf8mb4_bin';\n+-------------+---------+----+---------+----------+---------+---------------+\n| Collation   | Charset | Id | Default | Compiled | Sortlen | Pad_attribute |\n+-------------+---------+----+---------+----------+---------+---------------+\n| utf8mb4_bin | utf8mb4 | 46 |         | Yes      |       1 | PAD SPACE     |\n+-------------+---------+----+---------+----------+---------+---------------+\n1 row in set (0.001 sec)\n</code></pre>\n<p><code>Pad_attribute</code> \u662f <code>PAD SPACE</code>\uff0c\u8868\u793a\u5bf9\u9f50\u957f\u5ea6\u65f6\uff0c\u540e\u9762\u8865\u7a7a\u683c\u3002\u8fd9\u4e0b\u5c31\u8bf4\u901a\u4e86\u3002\u7a7a\u683c\u662f <code>0x20</code>\uff0c\u6362\u884c\u7b26\u662f <code>0x0a</code>\u3002<code>\\n</code> \u6bd4 <code> </code> \u5c0f\u3002</p>\n<p>\u6240\u4ee5\uff01\uff01\u867d\u7136\u53cd\u76f4\u89c9\uff0c\u5728 utf8mb4_bin \u4e0b\uff0c<code>'abc\\n'</code> \u5c31\u662f <code>'abc'</code> \u5c0f\uff01  </p>\n<p><strong>\u7ed3\u8bba\uff1a<code>like 'abc%'</code> \u7684\u8303\u56f4\u67e5\u8be2\u4f18\u5316\u6709\u95ee\u9898\u3002</strong></p>\n<hr/>\n<p>\u5173\u4e8e\u8fd9\u4e2a bug \uff0c\u6211\u5df2\u7ecf\u5411 MySQL \u63d0\u4ea4\u4e86 patch \uff0c\u4f46\u662f\u4f3c\u4e4e\u6ca1\u6709\u5f97\u5230\u5173\u6ce8\u3002\u6211\u770b\u4e86\u4e0b\u66f4\u65b0\u65e5\u5fd7\uff0c\u6211\u63d0\u7684\u53e6\u4e00\u4e2a patch \u5df2\u7ecf\u88ab\u5408\u5165\uff0c\u4f46\u662f\u8fd9\u4e2a\u95ee\u9898\u4f9d\u7136\u8fd8\u5728\u3002\u770b\u6765\u6d89\u53ca\u5230\u5b57\u7b26\u96c6\uff0c\u8fd9\u4e2a\u5751\u9ebb\u70e6\u5230\u4ed6\u4eec\u90fd\u4e0d\u60f3\u5904\u7406\u4e86\u3002</p>\n<p><img alt=\"\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.imgur.com/UASkTDJ.png\"/>\n<em>[ \u540c\u4e00\u65f6\u95f4\u63d0\u4ea4\u7684\u4ee3\u7801\u5df2\u7ecf\u5408\u5165 ]</em></p>\n<p><img alt=\"\" class=\"embedded_image\" loading=\"lazy\" referrerpolicy=\"no-referrer\" rel=\"noreferrer\" src=\"https://i.imgur.com/AUjpBmz.png\"/>\n<em>[ \u8fd9\u4e2a\u95ee\u9898\u8fd8\u662f\u6253\u5f00\u7684 ]</em></p>\n<hr/>\n<p>\u5982\u679c\u54ea\u5929\u4ed6\u4eec\u5408\u5165\u6216\u8005\u89e3\u51b3\u4e86\uff0c\u6211\u518d append \u65b0\u7684\u8fdb\u5c55\u3002</p>\n", 
      "date_published": "2025-05-22T00:33:27+00:00", 
      "title": "\u5751\u7239\u7684\u5b57\u7b26\u96c6\u95ee\u9898\uff1a\u8e29\u5230\u4e86 MySQL \u7684 bug", 
      "id": "https://www.v2ex.com/t/1133409"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/IIIIZAYOI", 
        "name": "IIIIZAYOI", 
        "avatar": "https://cdn.v2ex.com/avatar/ac41/73e3/666624_large.png?m=1745983655"
      }, 
      "url": "https://www.v2ex.com/t/1128908", 
      "date_modified": "2025-04-29T07:57:32+00:00", 
      "content_html": "<p>\u4ece\u4e92\u8054\u7f51\u5927\u6570\u636e\u5c97\u4f4d\u8df3\u69fd\u5230\u5236\u9020\u4e1a ToB \u516c\u53f8\uff0c\u672c\u4ee5\u4e3a\u80fd\u9003\u79bb\u201c\u5377\u9700\u6c42\u201d\uff0c\u7ed3\u679c\u53d1\u73b0\u771f\u6b63\u7684\u5669\u68a6\u662f\u201c\u6ca1\u6709\u9700\u6c42\u201d\u2014\u2014\u53ea\u6709\u9886\u5bfc\u7684\u6a21\u7cca\u6982\u5ff5\u548c\u4e1a\u52a1\u90e8\u95e8\u7684\u201c\u4e0e\u6211\u65e0\u5173\u201d\ud83d\ude07</p>\n<p>\u73b0\u5728\u5728\u8fd9\u4e2a\u516c\u53f8,\u5c31\u611f\u89c9\u9700\u6c42\u50cf\u4e2a\u4f20\u8bdd\u6e38\u620f\uff1a\u5927\u8001\u677f\u8bf4\u201c\u8981\u505a\u6570\u636e\u9a71\u52a8\u201d\uff0c\u4f20\u5230\u5b50\u516c\u53f8 A \u53d8\u6210\u201c\u968f\u4fbf\u7ed9\u4e2a\u770b\u677f\u201d\uff0c\u5b50\u516c\u53f8 B \u76f4\u63a5\u88c5\u6b7b\uff0c\u6700\u540e\u6211\u4eec\u4fe9\u5939\u5728\u4e2d\u95f4\uff0c\u7528 SQL \u7ed9\u9886\u5bfc\u9020\u6d77\u5e02\u8703\u697c\u2026</p>\n<p>\u5efa\u6a21\u8ddf\u5c3c\u9a6c\u7684\u4fa6\u63a2\u7834\u6848\u4e00\u6837\u4e1a\u52a1\u90e8\u95e8\u81ea\u5df1\u90fd\u8bf4\u4e0d\u6e05\u6307\u6807\u53e3\u5f84\uff0c\u95ee\u5c31\u662f\u201c\u5927\u6982\u548c\u53bb\u5e74\u4e00\u6837\u201d\uff0c\u7b49\u5f00\u53d1\u5b8c\u4e86\u624d\u8df3\u51fa\u6765\u8bf4\u201c\u8fd9\u6570\u4e0d\u5bf9\u201d\uff08\u8279,\u4f60\u4eec\u5012\u662f\u65e9\u8bf4\u554a\uff01\uff09</p>\n<p>\u8981\u4e2a\u6570\u636e\u50cf\u8ba8\u503a\u4e00\u6837\uff0c\u5bf9\u65b9\u4e00\u53e5\u201c\u7cfb\u7edf\u8001\u65e7\u5bfc\u4e0d\u51fa\u6765\u201d\u5c31\u80fd\u6253\u53d1\u6211\u4eec.</p>\n<p>\u6700\u8fd1\u9886\u5bfc\u53c8\u60f3\u8d77\u6765\u8981\u6cbb\u7406\u6570\u636e\u4e86,\u8981\u6c42\u4e24\u4e2a\u4eba\u7684\u56e2\u961f\u80fd\u96c6\u6210\u5168\u96c6\u56e2\u4e1a\u52a1\u6570\u636e\u641e\u51fa\u4f53\u7cfb\u5316\u7684\u6570\u636e\u5efa\u6a21.\u4f1a\u4e0a\u8bf4\u4e86\u505a\u4e0d\u6765,\u5c31\u8981\u6c42\u6211\u4eec\u53c2\u8003\u5176\u4f59\u5236\u9020\u4e1a\u7684\u7ecf\u9a8c,\u8981\u6211\u4eec\u53bb\u8c03\u7814.\u6211\u5bfb\u601d\u54ea\u5bb6\u505a\u7684\u597d\u7684\u5236\u9020\u4e1a\u80fd\u4e24\u4e2a\u4eba\u641e\u6570\u4ed3.....\u518d\u8bf4\u4e86,\u4e24\u4e2a\u81ed\u5f00\u53d1\u7684\u548b\u80fd\u8981\u5230\u522b\u4eba\u4f01\u4e1a\u7684\u5185\u90e8\u642d\u5efa\u7ecf\u9a8c,\u5934\u90fd\u88c2\u5f00</p>\n<p>\u6709\u524d\u8f88\u6307\u70b9\u4e0b\u4e0d?\u6211\u73b0\u5728\u5230\u5e95\u8be5\u81ea\u4e0a\u800c\u4e0b\u786c\u521a\uff0c\u8fd8\u662f\u81ea\u4e0b\u800c\u4e0a\u5077\u8dd1\uff1f</p>\n", 
      "date_published": "2025-04-29T07:53:13+00:00", 
      "title": "\u4e24\u4e2a\u4eba\u7684\u6570\u636e\u5f00\u53d1\u56e2\u961f,\u88ab\u8981\u6c42\u4ece\u96f6\u5f00\u59cb\u6cbb\u7406\u4f01\u4e1a\u6570\u636e", 
      "id": "https://www.v2ex.com/t/1128908"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/eveqvq982", 
        "name": "eveqvq982", 
        "avatar": "https://cdn.v2ex.com/gravatar/8fba473d45a3a42627b61bf32147d894?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1120026", 
      "date_modified": "2025-03-21T03:30:04+00:00", 
      "content_html": "<h2>\u8d77\u6e90</h2>\n<p><code>\u5728\u4f7f\u7528 Metabase 0.53.6 \u8fde\u63a5 1Panel \u81ea\u5e26\u7684 MySQL 8.4.4 \u65f6\uff0c\u51fa\u73b0\u6570\u636e\u5e93\u94fe\u63a5\u5931\u8d25 API Health \u6d4b\u8bd5\u5931\u8d25</code></p>\n<h2>\u75c7\u72b6</h2>\n<ul>\n<li>\u200b<strong>Metabase \u8fde\u63a5\u5931\u8d25</strong>\uff1a\u65e0\u6cd5\u8fde\u63a5\u5230\u6570\u636e\u5e93\u3002  </li>\n<li>\u200b<strong>DBeaver \u8fde\u63a5\u62a5\u9519</strong>\uff1a\u63d0\u793a <code>Public Key Retrieval is not allowed</code>\u3002  </li>\n<li>\u200b<strong>\u672c\u5730\u767b\u5f55\u6b63\u5e38</strong>\uff1a\u901a\u8fc7 Adminer \u5de5\u5177\u53ef\u4ee5\u6b63\u5e38\u767b\u5f55\uff0c\u6570\u636e\u5e93\u8d26\u53f7\u5bc6\u7801\u65e0\u8bef\uff0c\u6570\u636e\u5e93\u786e\u5b9e\u5b58\u5728\u3002  </li>\n</ul>\n<h2>\u73af\u5883</h2>\n<p><code>\u5bbf\u4e3b\u673a</code> </p>\n<ul>\n<li>Proxmox VE (PVE) 8.3.1  </li>\n</ul>\n<p><code>\u5bb9\u5668\u7c7b\u578b</code> </p>\n<ul>\n<li>LXC  </li>\n</ul>\n<p><code>\u64cd\u4f5c\u7cfb\u7edf</code> </p>\n<ul>\n<li>Debian 12  </li>\n<li>Ubuntu 24.04  </li>\n</ul>\n<p><code>\u9762\u677f</code> </p>\n<ul>\n<li>1Panel  </li>\n<li>BT Panel  </li>\n</ul>\n<p><code>MySQL \u7248\u672c</code> </p>\n<ul>\n<li>1Panel \u81ea\u5e26 MySQL 8.4.4 \uff08\u95ee\u9898\u7248\u672c\uff09  </li>\n<li>\u5b9d\u5854\u5b89\u88c5 MySQL 8.0.0 \uff08\u6b63\u5e38\u7248\u672c\uff09  </li>\n<li>\u5b9d\u5854\u5b89\u88c5 MySQL 8.4 LTS \uff08\u95ee\u9898\u590d\u73b0\uff09  </li>\n</ul>\n<h2>\u6392\u67e5</h2>\n<ol>\n<li>\n<p>\u200b<strong>\u521d\u6b65\u6000\u7591 1Panel \u95ee\u9898</strong>\uff1a  </p>\n<ul>\n<li>\u91cd\u88c5 1Panel \uff0c\u95ee\u9898\u4f9d\u65e7\u3002  </li>\n<li>\u66f4\u6362 LXC Template \u4e3a Ubuntu 24.04 \uff0c\u95ee\u9898\u672a\u89e3\u51b3\u3002  </li>\n</ul>\n</li>\n<li>\n<p>\u200b<strong>\u5c1d\u8bd5\u66f4\u6362\u6570\u636e\u5e93</strong>\uff1a  </p>\n<ul>\n<li>\u5c1d\u8bd5\u8fde\u63a5\u53e6\u5916\u4e00\u53f0\u5b9d\u5854\u5b89\u88c5\u7684 MySQL 8.0.0 \uff0c\u8fde\u63a5\u6b63\u5e38\u3002  </li>\n</ul>\n</li>\n<li>\n<p>\u200b<strong>\u6000\u7591 1Panel \u955c\u50cf\u95ee\u9898</strong>\uff1a  </p>\n<ul>\n<li>\u5728\u53e6\u4e00\u53f0\u4e3b\u673a\u4e0a\u5b89\u88c5\u5b9d\u5854\uff0c\u5e76\u90e8\u7f72 MySQL 8.4 LTS \uff0c\u95ee\u9898\u590d\u73b0\u3002  </li>\n<li>\u786e\u8ba4\u95ee\u9898\u53ef\u80fd\u4e0e MySQL 8.4 LTS \u76f8\u5173\u3002  </li>\n</ul>\n</li>\n<li>\n<p>\u200b<strong>\u89e3\u51b3\u65b9\u6848</strong>\uff1a  </p>\n<ul>\n<li>\u5c06 1Panel \u81ea\u5e26\u7684 MySQL \u964d\u7ea7\u5230 8.0.41 \u7248\u672c\uff0c\u95ee\u9898\u89e3\u51b3\u3002  </li>\n</ul>\n</li>\n</ol>\n<h2>\u603b\u7ed3</h2>\n<p>\u5751\u7239\u554a\u65b0\u7248\u672c \u7eaf\u7eaf\u6d6a\u8d39\u65f6\u95f4 \u6211\u8fd8\u641c\u4e86\u4e00\u5708\u6ca1\u4eba\u53d1\u76f8\u5173\u5185\u5bb9</p>\n", 
      "date_published": "2025-03-21T01:29:04+00:00", 
      "title": "MySQL 8.4 LTS \u4e0e Metabase \u5947\u602a\u517c\u5bb9\u6027\u95ee\u9898\uff1a\u964d\u7ea7\u5230 8.0.4 \u540e\u95ee\u9898\u89e3\u51b3 (1Panel and BT Panel \u590d\u73b0)", 
      "id": "https://www.v2ex.com/t/1120026"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/qbmiller", 
        "name": "qbmiller", 
        "avatar": "https://cdn.v2ex.com/avatar/268d/e11a/236713_large.png?m=1726119735"
      }, 
      "url": "https://www.v2ex.com/t/1118327", 
      "date_modified": "2025-03-14T01:44:33+00:00", 
      "content_html": "\u6c42\u6559\u9ad8\u624b\u4eec\uff0c\u4e09\u56db\u7ebf\u57ce\u5e02\uff0c\u4f20\u7edf\u884c\u4e1a\u3002\u516c\u53f8\u51e0\u4e4e\u4e0d\u7528\u4e91\u670d\u52a1\u3002<br />\u7c7b\u4f3c\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u7684\u9ad8\u53ef\u7528 db \u3002<br />1. \u600e\u4e48\u642d\u5efa\u9ad8\u53ef\u7528\u4e3b\u5907 mysql \u3002 \u4e00\u4e2a\u94fe\u63a5 \u8fde\u63a5 db, \u51fa\u95ee\u9898\u65f6\u81ea\u52a8\u5207\u5230\u5907\u5e93\u4e86\u3002\u8fde\u63a5\u4e0d\u53d8<br />2. \u6709\u7b80\u5316\u7248\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u7684\u7cfb\u7edf\u5417\u3002 \u5f00\u6e90\u7684\uff1f \u516c\u53f8\u73b0\u5728\u662f vmware \u96c6\u7fa4\u3002\u76f8\u5f53\u4e8e\u786c\u4ef6\u7ec4\u865a\u62df\u5316\u51fa\u673a\u5668\u7ed9\u6211\u4eec\u7528\u3002\u4e5f\u6ca1\u4e2a\u7c7b\u4f3c\u963f\u91cc\u4e91\u3001\u817e\u8baf\u4e91\u7684\u9875\u9762\u64cd\u4f5c\u5316\u573a\u666f\u3002<br /><br />\u8c22\u8c22\ud83d\ude4f", 
      "date_published": "2025-03-14T01:25:03+00:00", 
      "title": "\u516c\u53f8\u5185\u7f51\uff0c\u600e\u4e48\u642d\u5efa\u4e3b\u5907 mysql\uff0c\u9ad8\u53ef\u7528\u3002\u6545\u969c\u81ea\u52a8\u5207\u3002 \u4e0d\u4e70\u4e91\u670d\u52a1", 
      "id": "https://www.v2ex.com/t/1118327"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/vm97", 
        "name": "vm97", 
        "avatar": "https://cdn.v2ex.com/gravatar/01ddcf25a26e7395ecd9bd3b4c0223d8?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1116547", 
      "date_modified": "2025-03-07T01:28:54+00:00", 
      "content_html": "<p>\u963f\u91cc\u4e91 RDS mysql5.7 \uff0c \u4e00\u4e2a\u51e0\u767e\u884c\u7684\u8868\uff0c\u7a81\u7136\u4e00\u6761\u63d2\u5165\u7684\u8bb0\u5f55\u81ea\u589e ID \u6210\u4e86 2147483647 \uff0c\u5df2\u7ecf\u6392\u9664\u4e86\u65e0\u9650\u5faa\u73af\u9519\u8bef\u5199\u5165\u5bfc\u81f4\u7684 ID \u81ea\u589e\u6ea2\u51fa\uff0c\u6216\u8005\u5728\u63d2\u5165\u65f6\u9519\u8bef\u7684\u5e26\u5165 ID \u503c\uff0c\u8fd8\u6709\u4ec0\u4e48\u53ef\u80fd\u539f\u56e0\u4e48\uff1f</p>\n", 
      "date_published": "2025-03-07T01:26:20+00:00", 
      "title": "mysql \u81ea\u589e ID \u7a81\u7136\u53d8\u4e3a int \u6700\u5927\u503c\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1116547"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/werwer", 
        "name": "werwer", 
        "avatar": "https://cdn.v2ex.com/gravatar/9a88b83b75a31ee203c47cd7cc38ce1f?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1113674", 
      "date_modified": "2025-02-24T00:27:03+00:00", 
      "content_html": "\u6211\u7528 C:\\ProgramData\\MySQL\\MySQL Server 8.0\\Data\\\u6587\u4ef6\u5939\u7684\u5907\u4efd\u8986\u76d6\u4e86\u73b0\u5728\u7684 data \u6587\u4ef6\u5939\uff0c<br />net start mysql80 \u63d0\u793a<br />MySQL80 \u670d\u52a1\u6b63\u5728\u542f\u52a8 .<br />MySQL80 \u670d\u52a1\u65e0\u6cd5\u542f\u52a8\u3002<br /><br />\u670d\u52a1\u6ca1\u6709\u62a5\u544a\u4efb\u4f55\u9519\u8bef\u3002<br /><br />\u8bf7\u952e\u5165 NET HELPMSG 3534 \u4ee5\u83b7\u5f97\u66f4\u591a\u7684\u5e2e\u52a9\u3002<br />\u8bf7\u95ee\u8981\u600e\u4e48\u529e\uff1f", 
      "date_published": "2025-02-23T15:16:54+00:00", 
      "title": "\u8986\u76d6\u8fd8\u539f data \u6587\u4ef6\u5939\u540e\uff0c mysql \u65e0\u6cd5\u542f\u52a8\u4e86", 
      "id": "https://www.v2ex.com/t/1113674"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/sheaned", 
        "name": "sheaned", 
        "avatar": "https://cdn.v2ex.com/gravatar/1e4eb5ae3e60340753872479d544e386?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1112319", 
      "title": "\u751f\u4ea7\u529b\u5de5\u5177", 
      "id": "https://www.v2ex.com/t/1112319", 
      "date_published": "2025-02-18T06:35:53+00:00", 
      "content_html": "\u6700\u8fd1\u6709\u56fd\u8865\uff0c\u5728\u770b\u7535\u8111\uff0c\u8bf7\u95ee\u95ee\u5927\u5bb6\u6709\u4ec0\u4e48\u6bd4\u8f83\u63a8\u8350\u7684\u7535\u8111\u3002\u4e3b\u8981\u505a\u6765\u505a\u540e\u7aef\u5f00\u53d1"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/ZeekChatCom", 
        "name": "ZeekChatCom", 
        "avatar": "https://cdn.v2ex.com/avatar/114b/9867/671969_large.png?m=1755141320"
      }, 
      "url": "https://www.v2ex.com/t/1112124", 
      "date_modified": "2025-02-18T00:08:50+00:00", 
      "content_html": "<p>\u5ba2\u6237\u4e70\u4e86\u4e00\u5957\u95ed\u6e90\u7684\u7a0b\u5e8f\u7528\u4e8e\u8fd0\u8425\u3002MySQL \u6570\u636e\u5e93\u7528\u7684\u662f CDB \uff0c\u4f46\u662f\u73b0\u5728\u9047\u5230\u4e00\u4e2a\u95ee\u9898\uff1a</p>\n<p>\u56e0\u4e3a\u90a3\u5957\u7a0b\u5e8f\u5bf9\u4e8e\u6570\u636e\u5e93\u7684\u4f18\u5316\u660e\u663e\u4e0d\u8db3\uff0c\u6709\u4e00\u4e9b\u5f88\u8981\u547d\u7684\u6162\u67e5\u8be2\u62d6\u6162\u6574\u4e2a\u5e93\u3002\u4e8e\u662f\uff0c\u6211\u4eec\u52a0\u4e86 2 \u4e2a\u7d22\u5f15\u3002\u6027\u80fd\u95ee\u9898\u6682\u65f6\u662f\u89e3\u51b3\u4e86\u3002</p>\n<p>\u4f46\u662f\u5947\u8469\u7684\u662f\uff0c\u8fd9\u5957\u7a0b\u5e8f\u4f1a\u4e3b\u52a8\u68c0\u6d4b\u7d22\u5f15\uff0c\u7136\u540e\u7ed9 DROP \u6389\u3002\u9891\u7e41\u7684\u6389\u7d22\u5f15\uff0c\u6211\u4eec\u5c31\u5199\u4e86\u4e2a\u5b9a\u65f6\u4efb\u52a1\u53bb\u52a0\u7d22\u5f15\u3002\u4e8e\u662f\u8fd9\u5957\u7a0b\u5e8f\u5c31\u662f\u5728\u4e0d\u65ad\u7684 add index \u548c drop index, \u56e0\u4e3a\u521a\u5f00\u59cb\u9891\u7387\u4e0d\u662f\u5f88\u9ad8\uff0c\u6240\u4ee5\u52c9\u5f3a\u80fd\u7528\u3002</p>\n<p>\u4f46\u662f\u6700\u8fd1\u6bcf\u5929\u7684\u9891\u7387\u8d8a\u6765\u8d8a\u9ad8\uff0c\u5bfc\u81f4\u4e0d\u53ef\u7528\u65f6\u95f4\u5360\u6bd4\u8d8a\u6765\u8d8a\u591a\u3002\u5230\u4e86\u65e0\u6cd5\u5fcd\u53d7\u7684\u5730\u6b65\u3002</p>\n<p>\u6211\u60f3\u7684\u89e3\u51b3\u529e\u6cd5\uff1a\u7ed9 CDB \u8fd9\u4e2a\u7528\u6237\u53bb\u9664\u7d22\u5f15\u7684\u6743\u9650\u3002\u4f46\u662f\u7a0b\u5e8f\u4f1a\u62a5\u9519\uff0c\u65e0\u6cd5\u8fd0\u884c\u3002</p>\n<p>\u73b0\u5728\u60f3\u6c42\u6559\uff0c\u6709\u6ca1\u6709\u7c7b\u4f3c\u7684\u4e2d\u95f4\u4ef6\uff0c\u53ef\u4ee5\u5728\u4e0d\u4fee\u6539\u4ee3\u7801\u7684\u60c5\u51b5\u4e0b\uff0c\u6b3a\u9a97\u5ba2\u6237\u7aef\uff0c\u4e22\u5f03\u6389 drop index \u7684\u64cd\u4f5c\u800c\u4e0d\u4f1a\u62a5\u9519\uff1f</p>\n", 
      "date_published": "2025-02-17T11:57:21+00:00", 
      "title": "\u5404\u4f4d\u5927\u4f6c\uff0c\u6709\u4e2a\u5947\u8469\u7684\u6280\u672f\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1112124"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/qtxxm", 
        "name": "qtxxm", 
        "avatar": "https://cdn.v2ex.com/gravatar/0ff395c144b1e701d19179c679d92494?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1111463", 
      "title": "\u5173\u4e8e mysql trx_id \u7684\u7591\u60d1 \u53d1\u5e16\u4e00\u95ee", 
      "id": "https://www.v2ex.com/t/1111463", 
      "date_published": "2025-02-14T06:38:10+00:00", 
      "content_html": "<p>\u8bf7\u6559\u4e00\u4e2a\u95ee\u9898\uff0c</p>\n<pre><code class=\"language-sql\">BEGIN;\nselect * from sys_hosts;\nSELECT TRX_ID FROM INFORMATION_SCHEMA.INNODB_TRX  WHERE TRX_MYSQL_THREAD_ID = CONNECTION_ID();\nCOMMIT;\n</code></pre>\n<p>\u8fd4\u56de\u5982\u4e0b\n+-----------------+\n| TRX_ID          |\n+-----------------+\n| 421114694075176 |\n+-----------------+\n1 row in set (0.00 sec)</p>\n<pre><code class=\"language-sql\">BEGIN;\ndelete from sys_hosts WHERE id &lt; 0;\nSELECT TRX_ID FROM INFORMATION_SCHEMA.INNODB_TRX  WHERE TRX_MYSQL_THREAD_ID = CONNECTION_ID();\nCOMMIT;\n</code></pre>\n<p>\u8fd4\u56de\u5982\u4e0b\n+---------+\n| TRX_ID  |\n+---------+\n| 1092017 |\n+---------+\n1 row in set (0.00 sec)</p>\n<p>\u4ee5\u4e0a\uff0c\u53ea\u8bfb\u4e8b\u52a1\u4e2d\u7684 \u4e8b\u52a1 id \u662f\u4e00\u4e2a\u975e\u5e38\u5927\u7684\u503c <strong>421114694075176</strong>\n\u5b9e\u9645\u4e0a\u5982\u679c\u6570\u636e\u5e93\u6709\u5199\u64cd\u4f5c\uff0c\u5f97\u5230\u7684\u771f\u5b9e\u4e8b\u52a1 id \u662f\u4e00\u4e2a\u9010\u6e10\u9012\u589e\u7684\u503c\uff0c\u6bd4\u5982\u8fd9\u91cc <strong>1092017</strong>\uff0c\u8fd9\u4e2a\u503c\u4f1a\u7528\u4e8e\u5b9e\u9645\u6570\u636e\u884c\u4e2d\u7684\u9690\u85cf\u5217 trx_id</p>\n<p>\u90a3\u4e48\u8bf7\u95ee\u5927\u4f6c\u4eec</p>\n<ol>\n<li>\u53ea\u8bfb\u4e8b\u52a1 id \u8fd9\u4e2a\u503c\u6570\u636e\u5e93\u662f\u600e\u4e48\u751f\u6210\u5f97\u5230\u7684\uff1f</li>\n<li>\u662f\u5426\u53ef\u4ee5\u8ba4\u4e3a\uff0cmysql \u4e3a\u4e86\u907f\u514d trx_id \u7684\u6d6a\u8d39\uff0c\u53ea\u4f1a\u5728\u771f\u5b9e\u6d89\u53ca\u5230\u5199\u64cd\u4f5c\u7684\u4e8b\u52a1\u4e2d\uff0c\u624d\u751f\u6210\u771f\u6b63\u7684 trx_id</li>\n<li>\u5728 mysql trx_id \u81ea\u589e\u8fbe\u5230\u6700\u5927\u503c\u65f6\uff0c\u5404\u4e92\u8054\u7f51\u5927\u5382\u662f\u600e\u4e48\u5904\u7406\u7684\uff1f\uff08\u8fd9\u4e2a\u503c\u7406\u8bba\u4e0a\u8db3\u591f\u7528\u5f88\u4e45\uff0c\u662f\u4e0d\u662f\u6211\u60f3\u591a\u4e86\uff09</li>\n</ol>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/sheaned", 
        "name": "sheaned", 
        "avatar": "https://cdn.v2ex.com/gravatar/1e4eb5ae3e60340753872479d544e386?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1109614", 
      "title": "sql \u6027\u80fd\u8ba8\u8bba", 
      "id": "https://www.v2ex.com/t/1109614", 
      "date_published": "2025-02-07T06:38:10+00:00", 
      "content_html": "\u5728 sql \u67e5\u8be2\u4e2d\u90fd\u8bf4\u4e0d\u63a8\u8350\u4f7f\u7528 select *\uff0c\u800c\u662f\u6307\u5b9a\u5b57\u6bb5\uff0c\u6027\u80fd\u4f1a\u66f4\u597d\u3002\u5c24\u5176\u662f\u8fd4\u56de\u5927\u91cf\u6570\u636e\u7684\u60c5\u51b5\u4e0b\u3002<br />\u90a3\u4e48\u5982\u679c\u53ea\u8fd4\u56de\u4e00\u6761\u6570\u636e\u7684\u60c5\u51b5\u4e0b\uff0cselect * \u548c\u6307\u5b9a\u5b57\u6bb5\u6027\u80fd\u4e0a\u4f1a\u6709\u591a\u5927\u7684\u533a\u522b\u5462\uff1f"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/455035319", 
        "name": "455035319", 
        "avatar": "https://cdn.v2ex.com/gravatar/37c31d70751869577f806e4bba1fc525?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1109295", 
      "title": "\u6570\u636e\u5e93\u9ad8\u9891\u66f4\u65b0\u95ee\u9898 \u8c01\u9047\u5230\u8fc7\u6ca1 \u6709\u5565\u597d\u7684\u89e3\u51b3\u65b9\u6848\u90e8", 
      "id": "https://www.v2ex.com/t/1109295", 
      "date_published": "2025-02-06T04:00:16+00:00", 
      "content_html": "<p>\u4e00\u4e2a\u5b57\u6bb5\u91d1\u989d,\u4e00\u79d2\u53ef\u80fd\u8981\u66f4\u65b0\u4e0a\u767e\u6b21,\u5c31\u4f1a\u5361\u987f\u6b7b\u9501\uff0c\u5e94\u8be5\u600e\u4e48\u5904\u7406\u6bd4\u8f83\u597d</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/qazwsxkevin", 
        "name": "qazwsxkevin", 
        "avatar": "https://cdn.v2ex.com/gravatar/bfefb99d6203d351791672a1d3fc936a?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1108846", 
      "title": "\u6709\u7528\u8fc7 SyncNavigator \u6216\u8005\u7c7b\u4f3c\u7684\u7b80\u5355\u6570\u636e\u5e93\u540c\u6b65\u8f6f\u4ef6\u5417\uff0c", 
      "id": "https://www.v2ex.com/t/1108846", 
      "date_published": "2025-02-04T07:44:51+00:00", 
      "content_html": "<p>\u8001\u673a\u5668\uff0c\u6e90\u5e93 MySQL 5.6 \uff0c\u6ca1\u6709\u5f00 binlog \uff0c\u78c1\u76d8\u3001\u7f51\u7edc\u63a5\u53e3 I/O \u90fd\u5f88\u6162\uff0c\u6574\u4e2a\u5e93\u6709 80 \u591a GB<br/>\n\u76ee\u6807\u6570\u636e\u5e93\u662f MySQL 8.0 \uff0c\u65b0\u5efa\u7684\uff0c<br/>\n\u6e90\u6570\u636e\u5e93\u8fd8\u5728\u8fd0\u884c\uff0c\u4e5f\u4e0d\u662f\u4e0d\u80fd\u505c\uff0c\u5468\u672b\uff0c\u6e90\u6570\u636e\u5e93\u4e00\u5b9a\u4f1a\u6ca1\u6709\u4efb\u4f55\u8bfb\u5199\uff0c\u6216\u8005\u5be5\u5be5\u51e0\u6761<br/>\n<br/>\n\u8bf7\u95ee\uff0cSyncNavigator \u8fd9\u4e2a\u8f6f\u4ef6\u80fd\u591f\u5728\u539f\u6570\u636e\u5e93\u4e0d\u505c\u7684\u60c5\u51b5\u4e0b\uff0c<br/>\n\u5de5\u4f5c\u5929\u5f00\u59cb\u540c\u6b65\uff0c\u5728\u5468\u516d\u65e5\u67d0\u4e2a\u65f6\u5019\uff0c\u6e90\u6570\u636e\u5e93\u548c\u76ee\u6807\u6570\u636e\u5e93\u5185\u5bb9\u5b8c\u6210\u4e00\u81f4\u540c\u6b65\u5417\uff1f<br/>\n<br/>\n\u5982\u679c SyncNavigator \u505a\u4e0d\u5230\uff0c\u6709\u4ec0\u4e48\u8f6f\u4ef6\u201c\u65e0\u9700\u592a\u591a\u624b\u5de5\u201d\u53ef\u4ee5\u505a\u5230\uff1f<br/></p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/godall", 
        "name": "godall", 
        "avatar": "https://cdn.v2ex.com/avatar/8069/6815/443992_large.png?m=1736839570"
      }, 
      "url": "https://www.v2ex.com/t/1105019", 
      "date_modified": "2025-01-15T03:52:15+00:00", 
      "content_html": "<p>mysql 8.0 Windows \u7248\u672c\u3002</p>\n<h2>\u6709\u8fd9\u4e48\u4e00\u4e2a\u80a1\u5e02\u884c\u60c5\u8868\uff1a##</h2>\n<pre><code>tb_quote (\n op_date  ,\n code  ,\n price  ,\n ratio  ,\n hsl  ,\n   index unique idx_1 (op_date,code) ,\n   index idx_2(code)\n )\n</code></pre>\n<p>\u6bcf\u4e2a\u4ea4\u6613\u65e5 6000 \u6761\uff0c\u4e00\u5e74\u51e0\u767e\u4e07\u6761\u89c4\u6a21\u3002</p>\n<h2>\u73b0\u5728\u6709\u4e00\u4e2a\u7b80\u5355\u9700\u6c42\uff1a##</h2>\n<ol>\n<li>\u7b5b\u9009\u67d0\u4e00\u5929\u6da8\u5e45\u5728\uff08 3%\uff0c5%\uff09\u533a\u95f4\u7684\u80a1\u7968\uff0c\u4e14\u6362\u624b\u7387\u5728\uff08 5%-10%)\u533a\u95f4\u4e4b\u95f4</li>\n<li>\u67e5\u770b\u540e\u4e00\u5929\u7684\u80a1\u7968\u6da8\u8dcc\u60c5\u51b5\u3002</li>\n</ol>\n<p>\u5b9e\u73b0\u8bed\u53e5\u5f88\u7b80\u5355\uff1a</p>\n<p><strong>\u65b9\u6848\u4e00\uff1a</strong>\n\u7b2c\u4e00\u6761\u8bed\u53e5\u5728 1 \u79d2\u5185\u8fd4\u56de\u7ed3\u679c\uff1a(20 \u6761\u8bb0\u5f55\uff09</p>\n<pre><code>select code from tb_quote where op_date='yyyy-mm-dd' and ratio &gt;3 and ratio &lt;5 and hsl&gt;5 and hsl &lt;10 \n</code></pre>\n<p>\u5d4c\u5957\u7b2c\u4e8c\u6761\u540e\uff1a</p>\n<pre><code> select a.* from tb_quote a join ( \n   select code from tb_quote b where op_date='yyyy-mm-d1' and ratio &gt;3 and ratio &lt;5 and hsl&gt;5 and hsl &lt;10 \uff09 t\n on a.code=t.code and a.op_date='yyyy-mm-d2' \n</code></pre>\n<p>\u6267\u884c\u65f6\u95f4\u5c31\u8d85\u8fc7 1 \u5206\u949f\uff01</p>\n<p>**  \u67e5\u770b mysql \u89e3\u91ca\uff1a **</p>\n<ol>\n<li>simple b,key idx_1 ,key_len=3,ref=const ,rows=s5373,filterd 0.05, Extra:using where</li>\n<li>simple a, key idx_2, key_len=30, ref=tb_quote.code, rows=465 ,filtered 0.21, Extra:using where</li>\n</ol>\n<p>**  \u65b9\u6848\u4e8c\uff1a **\n\u4f46\u662f\u5982\u679c\u628a\u7b2c\u4e00\u6761\u8bed\u53e5\u7684\u7ed3\u679c\u4fdd\u5b58\u5728\u4e00\u4e2a\u8868 tmp \u91cc\u9762\uff0c\u5e76\u4e14 code \u5efa\u7acb\u666e\u901a\u7d22\u5f15\u4ee5\u540e\uff0c\u53d8\u6210\uff1a</p>\n<pre><code>select a.* from tb_quote a join (\n select code from tmp ) t\non a.code=t.codeand a.op_date='yyyy-mm-d3'\n</code></pre>\n<p>\u6267\u884c\u65f6\u95f4\u4e0d\u8d85\u8fc7 1 \u79d2\uff01\uff01\uff01</p>\n<p>** \u67e5\u770b mysql \u89e3\u91ca\uff1a**</p>\n<ol>\n<li>simple a,        key idx_1, key_len=3, ref=const, rows=5365 ,filtered 100, Extra:useing where</li>\n<li>simple tmp,   key idx_code ,key_len=29,ref=a.f12 ,rows=1, filterd 100, Extra:using where</li>\n</ol>\n<p>\u53d1\u73b0\u5dee\u522b\u5728\uff1a</p>\n<ol>\n<li>\u6b21\u5e8f\u4e0d\u540c\uff0c\u65b9\u6848\u4e8c\u5b50\u8868 tmp \u5728\u524d\uff0c\u65b9\u6848\u4e00\u5b50\u8868 b \u5728\u540e\uff1b</li>\n<li>filtered \u503c\u4e0d\u540c\uff0c\u65b9\u6848\u4e8c\u662f 100 \uff0c\u65b9\u6848\u4e00\u53ea\u6709 0.05 \uff1b</li>\n</ol>\n<p>\u4e0d\u77e5\u9053 mysql \u662f\u600e\u4e48\u4f18\u5316\u7684\uff1f\u5982\u679c\u4e0d\u7528\u4e2d\u95f4\u8868\u8fc7\u6e21\u7684\u8bdd\uff0c\u5e94\u8be5\u600e\u4e48\u5199 sql \uff1f</p>\n", 
      "date_published": "2025-01-14T07:36:37+00:00", 
      "title": "mysql \u9047\u5230\u6700\u611a\u8822\u7684\u67e5\u8be2\u6027\u80fd\u95ee\u9898\uff0c\u6c42\u89e3\u51b3", 
      "id": "https://www.v2ex.com/t/1105019"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/jiaoguan1688", 
        "name": "jiaoguan1688", 
        "avatar": "https://cdn.v2ex.com/avatar/e043/056c/456168_large.png?m=1745522707"
      }, 
      "url": "https://www.v2ex.com/t/1104007", 
      "date_modified": "2025-01-10T11:11:11+00:00", 
      "content_html": "<p>\u7ebf\u4e0a\u73b0\u5728\u8fd0\u884c\u7684 mysql \u91cc\u9762\u7684\u5b57\u6bb5\u540d\u9700\u8981\u589e\u52a0\u4e00\u4e9b,\u672c\u5730\u5df2\u7ecf\u589e\u52a0\u597d\u4e86\n\u5982\u4f55\u52a0\u5230\u7ebf\u4e0a\u7248\u672c\u6bd4\u8f83\u4f18\u96c5.</p>\n", 
      "date_published": "2025-01-09T14:11:23+00:00", 
      "title": "\u6709\u4ec0\u4e48\u4f18\u96c5\u7684 mysql \u589e\u52a0\u5b57\u6bb5\u540d\u7684\u65b9\u6cd5\u5462?", 
      "id": "https://www.v2ex.com/t/1104007"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/Vesc", 
        "name": "Vesc", 
        "avatar": "https://cdn.v2ex.com/avatar/60df/cc1d/686441_large.png?m=1759061651"
      }, 
      "url": "https://www.v2ex.com/t/1103625", 
      "date_modified": "2025-01-08T10:15:13+00:00", 
      "content_html": "\u4e3a\u5565\u7f16\u8f91\u8001\u662f\u63d0\u793a\u62e6\u622a", 
      "date_published": "2025-01-08T10:08:36+00:00", 
      "title": "\u5404\u4f4d Mysql \u5927\u4f6c\uff0c\u95ee\u4e00\u4e2a 8.0 \u7248\u672c json \u7684\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1103625"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/hhhhhh123", 
        "name": "hhhhhh123", 
        "avatar": "https://cdn.v2ex.com/gravatar/55110ada7d1839cd948e99642d4f2e72?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1103619", 
      "date_modified": "2025-01-08T11:15:37+00:00", 
      "content_html": "<p>\u4e0b\u9762\u662f\u8bf4\u660e\u548c\u5f53\u65f6\u573a\u666f<br/>\nmysql \u7248\u672c 8.0+<br/>\n\u5f53\u521d\u8bbe\u8ba1\u7684\u65f6\u5019\u8fd8\u662f\u6b20\u8003\u8651\u4e86\u3002 \u5509\uff5e<br/>\nsql \u4e2d\u7684 date() \u51fd\u6570\u7528\u7684\u65f6\u5019\u4e00\u65f6\u723d\uff0c \u73b0\u5728\u5934\u5927\u3002 </p>\n<p>\u6211\u81ea\u5df1\u7684 app \u57fa\u672c\u4e0a\u6240\u6709\u7684\u65f6\u95f4\u67e5\u8be2\u6211\u90fd\u4f7f\u7528\u4e86 date \u51fd\u6570 QAQ<br/>\n\u73b0\u5728\u54ed\u7740\u6539\u4ee3\u7801 QAQ \uff5e<br/>\n\u6bd4\u5982</p>\n<pre><code>select uid, balance, create_time from day_check_in where date(create_time) = date(%(\u5165\u53c2\u65f6\u95f4)s) and uid = '123';\n</code></pre>\n<p>\u8fd1\u671f\u60f3\u4f18\u5316\u63a5\u53e3\uff0c\u4f7f\u7528 EXPLAIN \u4e00\u770b\u5934\u76ae\u53d1\u9ebb\uff0c \u867d\u7136\u76ee\u524d\u6570\u636e\u91cf\u4e0d\u591a\uff0c\u4f46\u662f\u5f88\u96be\u770b\u3002</p>\n<p>\u5f53\u6211\u7ffb\u770b\u6587\u6863\u548c\u641c\u7d22\u540e\u53d1\u73b0 \u53ef\u4ee5\u4f7f\u7528 online DDL \u521b\u5efa\u7d22\u5f15\u7684\u65f6\u5019 \u53ef\u4ee5\u5c3d\u53ef\u80fd\u7684\u4e0d\u5f71\u54cd CURD \u64cd\u4f5c\uff0c\u4e0d\u8fc7\u4e00\u4e9b \u7279\u6b8a\u7684 sql \u8fd8\u662f\u4f1a\u5f71\u54cd\uff0c\u4f1a\u7b49\u5f85\u521b\u5efa\u7d22\u5f15\u540e\u624d\u80fd\u6267\u884c\u4e00\u4e9b\u67e5\u8be2\u3002\n\u4e0d\u8fc7\u8fd9\u4e2a\u95ee\u9898\u4e0d\u5927\uff0c\u56e0\u4e3a\u6211\u53ef\u4ee5\u907f\u5f00\u8fd9\u4e2a\u65f6\u95f4\u6bb5\uff01</p>\n<p>\u540e\u9762\u6211\u6267\u884c\u4e86 </p>\n<pre><code>ALTER TABLE balance_records ADD INDEX index_uid_create_time (uid, create_time)\n</code></pre>\n<p>\u53d1\u73b0\u6267\u884c\u4e86 5 \u5206\u949f\u8fd8\u662f\u6ca1\u6709\u6267\u884c\u6210\u529f\u3002 \u4f7f\u7528 SHOW PROCESSLIST; \u67e5\u770b sql \u7684\u8fd0\u884c\u60c5\u51b5\uff0c\u53d1\u73b0\u6ca1\u6709\u4ec0\u4e48 sql \u548c\u521b\u5efa\u7d22\u5f15 sql \u51b2\u7a81\uff0c \u610f\u5473\u7740 \u521b\u5efa\u7d22\u5f15 sql \u8fd8\u5728\u6267\u884c\u3002  </p>\n<p>\u6211\u4ee5\u4e3a\u662f\u6570\u636e\u91cf\u5927\u7684\u539f\u56e0\uff0c \u5f53\u6211\u628a\u8fd9\u4e2a\u8868\u6240\u6709\u7684\u6570\u636e\u62f7\u8d1d\u5230 test \u5e93\u4e2d\uff0c \u6211\u6267\u884c\u4e86 \u521b\u5efa\u7d22\u5f15\u7684\u6307\u4ee4\uff0c\u7ed3\u679c 2 \u79d2\u5c31\u6267\u884c\u5b8c\u4e86\u3002<br/>\n\u6211\u60f3\u77e5\u9053\u4e3a\u5565\uff1f<br/>\n\u76ee\u524d\u4e00\u76f4\u6ca1\u6709\u627e\u5230\u95ee\u9898\u6240\u5728\uff0c \u6211\u5df2\u7ecf\u5c1d\u8bd5\u4e86\u4e24\u4e2a\u8868\uff0c\u62f7\u8d1d\u7684\u8868\u5355\u90fd\u662f\u51e0\u79d2\u949f\u5c31\u521b\u5efa\u5b8c\u6210\u4e86\uff01 \u552f\u72ec\u5f00\u53d1\u73af\u5883\u7684\u8868\u6ca1\u6709\u6267\u884c\u6210\u529f\u3002<br/>\n\u76ee\u524d\u552f\u4e00\u80fd\u60f3\u5230\u7684\u529e\u6cd5\u5c31\u662f\u5728\u591c\u6df1\u4eba\u9759\u7684\u65f6\u5019\uff0c\u8fdb\u884c\u505c\u6b62\u670d\u52a1\uff0c\u518d\u6267\u884c\u521b\u5efa\u7d22\u5f15\u64cd\u4f5c\uff0c\u4e5f\u4e0d\u77e5\u9053\u884c\u4e0d\u884c\u3002 </p>\n<p>\u6709\u6ca1\u6709\u5927\u4f6c\u77e5\u9053 \u4e3a\u5565\u6211\u62f7\u8d1d\u7684\u8868\u6267\u884c\u51e0\u79d2\u949f\u5c31\u6267\u884c\u5b8c\u4e86\u3002</p>\n", 
      "date_published": "2025-01-08T09:42:52+00:00", 
      "title": "mysql online DDL \u65f6\u95f4\u5f88\u957f\uff0c\u548b\u6574\uff0c\u6570\u636e\u91cf\u4e0d\u591a\uff0c\u5c31 30W", 
      "id": "https://www.v2ex.com/t/1103619"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/xianyukang", 
        "name": "xianyukang", 
        "avatar": "https://cdn.v2ex.com/avatar/4058/eaa6/275106_large.png?m=1732844770"
      }, 
      "url": "https://www.v2ex.com/t/1102681", 
      "title": "\u6570\u636e\u5e93\u4e2d select for update \u548c version \u4e50\u89c2\u9501\u5404\u81ea\u7684\u9002\u7528\u573a\u666f\u662f\u5565?", 
      "id": "https://www.v2ex.com/t/1102681", 
      "date_published": "2025-01-05T08:17:09+00:00", 
      "content_html": "<p>(0) \u5982\u9898</p>\n<p>(1) \u6bd4\u5982\u8f6c\u8d26/\u6263\u6b3e\u76f8\u5173\u7684\u4e1a\u52a1\uff0c\u63a8\u8350\u7528\u60b2\u89c2\u9501\u8fd8\u662f\u4e50\u89c2\u9501?</p>\n<p>(2) \u8111\u8865\u4e86\u5982\u4e0b\u7684\u4e50\u89c2\u9501\u5b9e\u73b0\uff0c\u53ef\u4ee5\u6ee1\u8db3\u5e76\u53d1\u8f6c\u8d26\u548c\u53d6\u94b1\u9700\u6c42\u5417? </p>\n<p>(3) \u5982\u679c\u80fd\uff0c\u90a3\u4e48\u548c\u60b2\u89c2\u9501 select for update \u4f5c\u5bf9\u6bd4\u54ea\u4e2a\u66f4\u597d?</p>\n<pre><code class=\"language-mysql\"># \u6570\u636e\u5e93\u521d\u59cb\u72b6\u6001\nTRUNCATE account;\nINSERT INTO account (id, name, balance, version)\nVALUES (1, 'ichigo', 10, 1),\n       (2, 'rukia', 10, 1);\n\n# \u5e76\u53d1\u4e8b\u52a1 1 \u8f6c\u51fa\u5168\u90e8\u4f59\u989d\nSTART TRANSACTION;\nSELECT balance, version FROM account WHERE id = 1;\nSELECT version FROM account WHERE id = 2;\nUPDATE account SET balance = balance - 10, version = 2 WHERE id = 1 AND version = 1;\nUPDATE account SET balance = balance + 10, version = 2 WHERE id = 2 AND version = 1;\nCOMMIT;\n\n# \u5e76\u53d1\u4e8b\u52a1 2 \u53d6\u51fa\u5168\u90e8\u4f59\u989d\nSTART TRANSACTION;\nSELECT balance, version FROM account WHERE id = 1;\nUPDATE account SET balance = balance - 10, version = 2 WHERE id = 1 AND version = 1;\nCOMMIT;\n</code></pre>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/peitaobest", 
        "name": "peitaobest", 
        "avatar": "https://cdn.v2ex.com/gravatar/2212f131aac0632b32219fc0ab9ed297?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1102450", 
      "title": "mysql \u5bbf\u4e3b\u673a\u6ca1\u6709\u529e\u6cd5\u8bbf\u95ee\u7684\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1102450", 
      "date_published": "2025-01-04T02:40:47+00:00", 
      "content_html": "<p>docker \u4e2d mysql \u7684\u670d\u52a1\u6b63\u5e38\nroot@Temak:/# docker ps -a\nCONTAINER ID   IMAGE          COMMAND                   CREATED          STATUS          PORTS                                                  NAMES\nfa56afd0a5c5   mysql:8.0.20   \"docker-entrypoint.s\u2026\"   57 minutes ago   Up 14 minutes   0.0.0.0:3306-&gt;3306/tcp, :::3306-&gt;3306/tcp, 33060/tcp   mysql8\n\u7aef\u53e3 3306 \u4e5f\u6ca1\u6709\u88ab\u5360\u7528\nroot@Temak:/# sudo netstat -tuln | grep 3306\ntcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN<br/>\ntcp6       0      0 :::3306                 :::*                    LISTEN<br/>\n\u5bbf\u4e3b\u673a\nroot@Temak:/# telnet 127.0.0.1 3306\nTrying 127.0.0.1...\nConnected to 127.0.0.1.\nEscape character is '^]'.\n\u4f46\u662f\u5bbf\u4e3b\u673a\u8bbf\u95ee docker \u4e2d\u7684 mysql\nroot@Temak:/# mysql -u root -p -h 127.0.0.1 -P 3306\nEnter password:\nERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0\ndocker \u4e2d mysql \u7684\u65e5\u5fd7\uff1a\n2025-01-04T02:18:41.937188Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.20) starting as process 1\n2025-01-04T02:18:41.948132Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.\n2025-01-04T02:18:42.188458Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.\n2025-01-04T02:18:42.302034Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: '/var/run/mysqld/mysqlx.sock' bind-address: '::' port: 33060\n2025-01-04T02:18:42.341277Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.\n2025-01-04T02:18:42.342798Z 0 [Warning] [MY-011810] [Server] Insecure configuration for --pid-file: Location '/var/run/mysqld' in the path is accessible to all OS users. Consider choosing a different directory.\n2025-01-04T02:18:42.359459Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.20'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server - GPL.\n\u8bf7\u95ee\u5927\u795e\u5982\u4f55\u89e3\u51b3\u5bbf\u4e3b\u673a\u8bbf\u95ee docker \u4e2d\u7684 mysql</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/zzfredhhh", 
        "name": "zzfredhhh", 
        "avatar": "https://cdn.v2ex.com/avatar/f145/2623/618358_large.png?m=1709469562"
      }, 
      "url": "https://www.v2ex.com/t/1100311", 
      "date_modified": "2024-12-26T00:08:55+00:00", 
      "content_html": "<p>mysql \u7ecf\u5e38\u7528\u4e00\u6bb5\u65f6\u95f4\u4e4b\u540e\u5f00\u673a\u4e4b\u540e\u65e0\u6cd5\u81ea\u52a8\u5f00\u542f\uff0c\u670d\u52a1\u91cc\u9762\u4e5f\u627e\u4e0d\u5230\uff0c\u53bb\u5b89\u88c5\u76ee\u5f55\u624b\u52a8\u542f\u52a8 mysqld.exe \u548c mysql.exe \u90fd\u662f\u5f39\u51fa\u9ed1\u6846\u540e\u65e0\u4efb\u4f55\u7ffb\u8bd1\uff0c\u7f51\u4e0a\u641c\u4e86\u5f88\u591a\u65b9\u6cd5\uff08\u591a\u662f csdn \u7684\u5e16\u5b50\uff09\u90fd\u4e0d\u7ba1\u7528 \uff0c\u65e0\u5948\u53ea\u80fd\u91cd\u88c5\uff0c\u4f46\u662f\u9694\u4e00\u6bb5\u65f6\u95f4\u5c31\u8fd9\u6837\u5f88\u70e6\u4eba\uff0c\u6709\u5565\u597d\u7684\u89e3\u51b3\u65b9\u6cd5\u5417\uff1f :bili_001: :bili_001: :bili_001:</p>\n", 
      "date_published": "2024-12-25T14:39:18+00:00", 
      "title": "mysql \u6c42\u52a9", 
      "id": "https://www.v2ex.com/t/1100311"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/vczyh", 
        "name": "vczyh", 
        "avatar": "https://cdn.v2ex.com/avatar/3e9f/06fd/469815_large.png?m=1745658512"
      }, 
      "url": "https://www.v2ex.com/t/1099981", 
      "title": "MySQL 8.4 MGR \u53ef\u4ee5\u4e0a\u751f\u4ea7\u5417\uff1f", 
      "id": "https://www.v2ex.com/t/1099981", 
      "date_published": "2024-12-24T09:15:46+00:00", 
      "content_html": "<p>\u51c6\u5907\u505a\u65b0\u7248\u672c</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/woduzibue", 
        "name": "woduzibue", 
        "avatar": "https://cdn.v2ex.com/avatar/b553/5ed8/523033_large.png?m=1735021138"
      }, 
      "url": "https://www.v2ex.com/t/1099915", 
      "date_modified": "2024-12-24T23:27:03+00:00", 
      "content_html": "\u8868\u4e2d\u6709\u4e2a\u4ebf\u7ea7\u522b\u7684\u6570\u636e\uff0c\u9700\u8981\u5c06\u8868\u4e2d\u67d0\u4e2a\u5b57\u6bb5\u505a\u5206\u6790\u805a\u5408\u63d2\u5165\u5230\u53e6\u4e00\u5f20\u65b0\u7684\u8868\u4e2d\uff0c<br />\u8bf7\u6559\u4e00\u4e0b\u5404\u4f4d\u5927\u4f6c\uff0c<br />1. \u8fd9\u79cd\u64cd\u4f5c\u901a\u8fc7\u54ea\u79cd\u65b9\u5f0f\u505a\u4f1a\u76f8\u5bf9\u6765\u8bf4\u662f\u6700\u4f73\u5b9e\u8df5<br />2. \u6216\u8005\u501f\u7528\u54ea\u4e9b\u5de5\u5177\u4f1a\u597d\u4e00\u70b9<br />\u6211\u5f53\u524d\u60f3\u5230\u7684\u662f\u505a\u4e2a\u6279\u5904\u7406\u6279\u91cf\u66f4\u65b0\u5230\u53e6\u4e00\u5f20\u8868\u4e2d\uff0c<br />\u60f3\u95ee\u95ee\u8bba\u575b\u5927\u4f6c\u4eec\u90fd\u8fd8\u6709\u54ea\u4e9b\u597d\u70b9\u7684\u505a\u6cd5\uff0c\u5927\u5382\u91cc\u9762\u90fd\u6709\u54ea\u4e9b\u6700\u4f73\u5b9e\u8df5", 
      "date_published": "2024-12-24T06:20:38+00:00", 
      "title": "mysql \u4ebf\u7ea7\u6570\u636e\uff0c\u6570\u636e\u7b5b\u9009\u548c\u5bfc\u5165\u5bfc\u51fa", 
      "id": "https://www.v2ex.com/t/1099915"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/PeiXyJ", 
        "name": "PeiXyJ", 
        "avatar": "https://cdn.v2ex.com/avatar/cff1/3947/410199_large.png?m=1773972621"
      }, 
      "url": "https://www.v2ex.com/t/1097350", 
      "title": "\u5927\u4f6c\u4eec\u4f60\u4eec Mysql \u7684\u6570\u636e\u5e93\u540d\u79f0\u600e\u4e48\u5206\u5272\u7684?", 
      "id": "https://www.v2ex.com/t/1097350", 
      "date_published": "2024-12-13T08:39:39+00:00", 
      "content_html": "<p>\u6211\u516c\u53f8\u6570\u636e\u5e93\u540d\u79f0\u91c7\u7528\u7684\u662f \u5c0f\u5199 + \u4e0b\u5212\u7ebf + \u5c0f\u5199 \u4f8b\u5982 <code>pj0001_prod</code>,\u4f46\u662f\u540c\u4e8b\u63d0\u51fa\u4e86\u5f02\u8bae\u8bf4\u5728\u67d0\u4e9b\u8f6f\u4ef6\u4f7f\u7528\u4e0b\u5212\u7ebf\u4f1a\u51fa\u73b0\u5f02\u5e38(\u95ee\u4e86\u4ed6\u4ec0\u4e48\u8f6f\u4ef6\u53c8\u4e0d\u8bf4).</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/sxinsuoyu20", 
        "name": "sxinsuoyu20", 
        "avatar": "https://cdn.v2ex.com/gravatar/693dda84f4382e3615b993b42ec9e20b?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1095406", 
      "date_modified": "2024-12-06T02:19:51+00:00", 
      "content_html": "\u4e00\u4e2a\u5185\u7f51\u670d\u52a1\u5668\uff0c\u4e00\u4e2a\u5916\u7f51\u670d\u52a1\u5668\uff08\u6570\u636e\u5b9a\u65f6\u91c7\u96c6\u670d\u52a1\u5668\uff09\uff0c\u73b0\u5728\u60f3\u628a\u5916\u7f51\u670d\u52a1\u5668\u7684\u589e\u91cf\u6570\u636e\u540c\u6b65\u5230\u5185\u7f51\u670d\u52a1\u5668\uff08\u521d\u59cb\u6570\u636e\u548c\u8868\u7ed3\u6784\u53ef\u4ee5\u5bfc\u6210 sql \u5230\u76ee\u6807\u5e93\u6267\u884c\uff09\uff0c\u8868\u7ed3\u6784\u5b8c\u5168\u76f8\u540c\uff0c\u53ef\u4ee5\u6709\u4e00\u5b9a\u7684\u5ef6\u8fdf\uff0c\u5404\u4f4d V \u53cb\u4eec\u6709\u4ec0\u4e48\u597d\u7684\u65b9\u6848\u548c\u5de5\u5177\u5417?\u539f\u5148\u6ca1\u7814\u7a76\u8fc7\uff0c\u6700\u597d\u6709\u5177\u4f53\u7684\u5b9e\u73b0\u65b9\u6848\u5e16\u5b50\u3001\u89c6\u9891\u3001\u6216\u8005\u5f00\u6e90\u9879\u76ee\uff0c\u4e00\u7ad9\u5f0f\u90e8\u7f72\uff0c\u5b66\u4e60\u6210\u672c\u6bd4\u8f83\u4f4e\uff0c\u514d\u8d39\u62ff\u6765\u5c31\u53ef\u4ee5\u7528\u6700\u597d\u4e86\uff01", 
      "date_published": "2024-12-06T01:19:58+00:00", 
      "title": "mysql \u6570\u636e\u589e\u91cf\u540c\u6b65", 
      "id": "https://www.v2ex.com/t/1095406"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/Alucns", 
        "name": "Alucns", 
        "avatar": "https://cdn.v2ex.com/avatar/2fd8/8827/31303_large.png?m=1749109527"
      }, 
      "url": "https://www.v2ex.com/t/1095057", 
      "title": "\u65b0\u9879\u76ee\u51c6\u5907\u542f\u52a8\uff0c MYSQL \u9009\u62e9 8.4.2 \u8fd9\u4e2a\u7248\u672c\uff0c\u6709\u6ca1\u4ec0\u4e48\u5751\uff1f", 
      "id": "https://www.v2ex.com/t/1095057", 
      "date_published": "2024-12-04T12:37:12+00:00", 
      "content_html": "\u751f\u4ea7\u73af\u5883\u8fd8\u662f\u4e0d\u8981\u8ffd\u6c42\u592a\u65b0\uff0c\u7528\u56de MYSQL 8.0.40 \uff1f<br />\u4f46\u662f\u53c8\u60f3\u5c1d\u8bd5\u4e00\u4e0b\u65b0\u7248\u672c\uff01"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/sxinsuoyu20", 
        "name": "sxinsuoyu20", 
        "avatar": "https://cdn.v2ex.com/gravatar/693dda84f4382e3615b993b42ec9e20b?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1094825", 
      "date_modified": "2024-12-04T12:57:58+00:00", 
      "content_html": "\u6709\u4e2a\u5ba4\u6e29\u91c7\u96c6\u7cfb\u7edf\uff0c\u4e00\u5171 1686 \u4e2a\u4f4f\u6237\uff0c\u6bcf\u5c0f\u65f6\u53d6\u4e00\u6b21\u6570\uff0c\u4f9b\u70ed\u5b63\u4ece 10 \u6708\u4efd\u53d6\u5230\u660e\u5e74 4 \u6708\u4efd\uff0c\u5927\u7ea6<br />1686*24*30*7=8,497,440 \u6761\u6570\u636e\uff0c\u540e\u671f\u6d89\u53ca\u5230\u7edf\u8ba1\uff0c\u5206\u7ec4\u6392\u5e8f\u7b49\u3002<br />\u76ee\u524d\u60f3\u5230\u7684\u529e\u6cd5\u662f\u4e00\u5e74\u65b0\u5efa\u4e00\u5f20\u8868\uff0c\u5b58\u50a8\u5386\u53f2\uff0c\u7136\u540e\u505a\u4e2a\u914d\u7f6e\u8868\u53bb\u7ba1\u7406\u67e5\u8be2\u54ea\u5f20\u8868\u3002\u5404\u4f4d\u6709\u5728\u5b9e\u9645\u4e2d\u9047\u5230\u8fc7\u76f8\u4f3c\u95ee\u9898\u7684\u5417\uff1f\u6709\u66f4\u597d\u7684\u529e\u6cd5\u5417\uff1f", 
      "date_published": "2024-12-04T00:56:20+00:00", 
      "title": "mysql \u4e00\u5e74\u65b0\u589e 800 \u591a\u4e07\u6761\u6570\u636e\uff0c\u5982\u679c\u662f\u5355\u8868\u7684\u8bdd\u8bf7\u95ee\u670d\u52a1\u5668\u80fd\u652f\u6491\u5417\uff1f\u5404\u4f4d\u6709\u4ec0\u4e48\u597d\u7684\u529e\u6cd5\u5417\uff1f", 
      "id": "https://www.v2ex.com/t/1094825"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/qingxia", 
        "name": "qingxia", 
        "avatar": "https://cdn.v2ex.com/avatar/6729/6f36/300207_large.png?m=1565185249"
      }, 
      "url": "https://www.v2ex.com/t/1089759", 
      "title": "\u65b0\u624b\u6c42\u4e2a\u8fdc\u7a0b\u6570\u636e\u5e93\u7a33\u59a5\u7684\u89e3\u51b3\u65b9\u6848~\u6216\u8005\u5b9e\u65f6\u5907\u4efd\u6570\u636e\u5e93\u7684\u65b9\u6cd5", 
      "id": "https://www.v2ex.com/t/1089759", 
      "date_published": "2024-11-15T03:02:11+00:00", 
      "content_html": "VPS \u5076\u5c14\u4f1a\u62bd\u98ce\uff0c\u5bfc\u81f4\u6709\u4e00\u6bb5\u65f6\u95f4\u670d\u52a1\u4e2d\u65ad\u3002\u5927\u5382\u6d41\u91cf\u8d35\uff0c\u60f3\u53ea\u628a\u6570\u636e\u5e93\u653e\u5927\u5382\u4e0a\uff0c\u6709\u6ca1\u6709\u8fdc\u7a0b\u8bbf\u95ee\u6570\u636e\u5e93\u964d\u4f4e\u5ef6\u8fdf\u7684\u65b9\u6cd5\uff0c\u6216\u8005\u5b9e\u65f6\u5907\u4efd\u6570\u636e\u5e93\u7684\u65b9\u6cd5"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/BV28", 
        "name": "BV28", 
        "avatar": "https://cdn.v2ex.com/avatar/25b5/f383/637022_large.png?m=1750840524"
      }, 
      "url": "https://www.v2ex.com/t/1089328", 
      "title": "\u94c1\u5b50\u4eec\uff0c\u6c42\u52a9 docker \u4e2d MySQL \u5bfc\u5165\u6570\u636e\u5e93\u901f\u5ea6\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1089328", 
      "date_published": "2024-11-13T13:53:27+00:00", 
      "content_html": "\u6211\u7528 Windows \u672c\u4e0a\u7684 MySQL \u5bb9\u5668\u5bfc\u5165\u6570\u636e\u5e93\u65f6\u7279\u522b\u7f13\u6162\uff0c\u78c1\u76d8\u901f\u5ea6\u53ea\u6709\u4e0d\u5230 10M \uff0c\u5360\u7528\u5374\u663e\u793a 70%\u3002\u5bfc\u5165\u51e0\u4e4e\u9065\u9065\u65e0\u671f\u3002\u6362\u7528 M1 \u7684 mac \u540c\u6837\u7528\u76f8\u540c\u7248\u672c MySQL \u5bb9\u5668\uff0c\u5bfc\u5165\u76f8\u540c\u6570\u636e\u5e93\u901f\u5ea6\u6709 100M \uff0c\u5f88\u5feb\u5c31\u5bfc\u5b8c\u4e86\u3002<br />\u8fd9\u662f\u5565\u60c5\u51b5\u554a\uff0cWindows \u672c\u7684\u78c1\u76d8\u6211\u6d4b\u5355\u7ebf\u7a0b\u968f\u673a\u8bfb\u5199\u4e5f\u6709 100M \u7684\uff0c\u5bfc\u5165\u65f6 cpu \u5360\u7528\u4e5f\u4e0d\u5230 50%\uff0c\u611f\u89c9\u4e5f\u4e0d\u662f cpu \u74f6\u9888\u554a\u3002"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/miaeLKK", 
        "name": "miaeLKK", 
        "avatar": "https://cdn.v2ex.com/gravatar/f58634e88e35cd83341614d958bfe388?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1087004", 
      "date_modified": "2024-11-06T13:11:28+00:00", 
      "content_html": "\u6211\u662f\u6bcf\u6b21\u8981\u67e5\u4ec0\u4e48\u5c31\u624b\u6572\uff0c\u719f\u7ec3\u638c\u63e1 select * from...\ud83d\ude02<br /><br />\u6240\u4ee5\u5c31\u5bfc\u81f4\u7f16\u8f91\u5668\u754c\u9762\u6709\u70b9\u6df7\u4e71\u3002\u4e4b\u524d\u770b\u6709\u7684\u540c\u4e8b\u597d\u50cf\u6572\u8fc7\u7684\u5c31\u4fdd\u5b58\u4e00\u4e0b\uff0c\u4e0b\u6b21\u67e5\u8be2\u65f6\u5148\u641c\u6709\u6ca1\u6709\u8fd9\u4e2a sql \uff0c\u6ca1\u6709\u518d\u6572\u3002\u4e0d\u8fc7\u540e\u9762\u5982\u679c\u52a0\u6761\u4ef6\u7684\u8bdd\uff0c\u5c82\u4e0d\u4e5f\u662f\u6df7\u4e71\uff1f\u8fd8\u662f\u8bf4\u5728\u53e6\u4e00\u4e2a.sql \u6587\u4ef6\u4e2d\uff1f", 
      "date_published": "2024-11-06T01:03:24+00:00", 
      "title": "\u5927\u5bb6\u7684 SQL \u4e00\u822c\u600e\u4e48\u7ba1\u7406\uff1f", 
      "id": "https://www.v2ex.com/t/1087004"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/newboy1", 
        "name": "newboy1", 
        "avatar": "https://cdn.v2ex.com/avatar/f3e7/9846/336478_large.png?m=1744018877"
      }, 
      "url": "https://www.v2ex.com/t/1086732", 
      "title": "\u8be2\u95ee\u4e00\u4e2a\u6162\u67e5\u8be2\u7684\u95ee\u9898", 
      "id": "https://www.v2ex.com/t/1086732", 
      "date_published": "2024-11-05T02:57:52+00:00", 
      "content_html": "<p>\u5047\u8bbe\u6709\u4e00\u5f20 software \u8868\uff0c\u8868\u7ed3\u6784\u5982\u4e0b</p>\n<table>\n<thead>\n<tr>\n<th>software_id (int)</th>\n<th>author_id (int)</th>\n<th>create_time</th>\n<th>update_time</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>1</td>\n<td>2024-11-05 11:00:00</td>\n<td>2024-11-05 11:00:00</td>\n</tr>\n<tr>\n<td>2</td>\n<td>2</td>\n<td>2024-11-05 11:00:00</td>\n<td>2024-11-05 11:00:00</td>\n</tr>\n</tbody></table><p>\u5176\u4e2d software_id \u662f\u4e3b\u952e\uff0cauthor_id \u662f\u666e\u901a\u7d22\u5f15</p>\n<p>\u8fd8\u6709\u4e00\u5f20 company_software \u8868\uff0c\u8868\u7ed3\u6784\u5982\u4e0b</p>\n<table>\n<thead>\n<tr>\n<th>company_software_id (int)</th>\n<th>author_id (int)</th>\n<th>country(varchar)</th>\n<th>software_id (varchar)</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>1</td>\n<td>1</td>\n<td>china</td>\n<td>1</td>\n</tr>\n<tr>\n<td>2</td>\n<td>1</td>\n<td>china</td>\n<td>kkk</td>\n</tr>\n</tbody></table><p>\u5176\u4e2d company_software_id \u662f\u4e3b\u952e\uff0cauthor_id \u3001country \u3001software_id \u662f\u4e00\u4e2a\u590d\u5408\u7d22\u5f15\u3002</p>\n<p>\u4ee5\u4e0a\u8868\u6570\u636e\u91cf\u53ea\u6709 1~5w \u3002</p>\n<p>1 \u3001SQL1</p>\n<pre><code class=\"language-sql\">SELECT 1\nFROM company_software AS company_software\nWHERE company_software.author_id  = 1\n  and company_software.country  in ('china', 'korea', 'england')\n  and company_software.software_id    = '1'\n</code></pre>\n<p>\u5e76\u4e0d\u4f1a\u5bfc\u81f4\u6162\u67e5\u8be2</p>\n<p>2 \u3001SQL2</p>\n<pre><code class=\"language-bash\">SELECT software_id\nFROM sortware\nWHERE author_id  = 1\n  and NOT EXISTS (SELECT 1\n                  FROM company_software AS company_software\n                  WHERE company_software.author_id = 1\n                    and company_software.country in ('china', 'korea', 'england')\n                    and CONVERT(sortware.software_id , char) = company_software.software_id)\nLIMIT 0, 100\n</code></pre>\n<p>\u4e3a\u4ec0\u4e48\u4f1a\u5bfc\u81f4\u6162\u67e5\u8be2\uff0c\u61c2\u7684\u5927\u4f6c\u5e2e\u5fd9\u5206\u6790\u4e0b</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/dzdh", 
        "name": "dzdh", 
        "avatar": "https://cdn.v2ex.com/avatar/1683/7ebf/226307_large.png?m=1757987240"
      }, 
      "url": "https://www.v2ex.com/t/1082775", 
      "title": "\u73b0\u5728\u7528 mysql \u7684\u591a \u8fd8\u662f mariadb \u7684\u591a", 
      "id": "https://www.v2ex.com/t/1082775", 
      "date_published": "2024-10-23T02:05:34+00:00", 
      "content_html": "<p>\u53ea\u80fd\u901a\u8fc7 apt / yum \u5b89\u88c5\u3001\u5347\u7ea7\u3002</p>\n"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/keepfun", 
        "name": "keepfun", 
        "avatar": "https://cdn.v2ex.com/avatar/867f/c588/211195_large.png?m=1657015490"
      }, 
      "url": "https://www.v2ex.com/t/1080432", 
      "date_modified": "2024-10-15T04:54:46+00:00", 
      "content_html": "\u6709\u8fd9\u4e48\u4e00\u4e2a\u573a\u666f \u670d\u52a1\u90e8\u7f72\u5728 k8s \uff0c\u670d\u52a1\u8bbe\u7f6e\u7684\u662f\u4e24\u4e2a pod \u3002\u7136\u540e\u4ee3\u7801\u6709\u4e2a\u542f\u52a8\u52a0\u8f7d\uff0c\u4f1a\u6709\u4e00\u5806 id \uff08\u5047\u5982\u662f a b c d e f \uff09\u53bb MySQL \u67e5\u8be2\u7136\u540e\u52a0\u8f7d\u5230\u5185\u5b58\u3002<br /><br />\u56e0\u4e3a\u4e24\u4e2a pod \uff0c\u4f1a\u540c\u65f6\u67e5\u8be2\u7b49\u4e8e a \u7684\uff0c\u5f88\u53ef\u80fd\u540e\u7eed\u540c\u65f6\u67e5\u8be2\u7b49\u4e8e b \u7684\u3002\u4e3a\u4e86\u907f\u514d\u4e00\u4e2a\u540c\u65f6\u67e5\u8be2\uff0c\u6211\u52a0\u4e86 shuffle \u673a\u5236\u3002<br /><br />\u5bf9\u4e8e\u8fd9\u4e2a\u673a\u5236\uff0c\u6211\u4e5f\u662f\u8111\u888b\u4e00\u70ed\u52a0\u7684\uff0c\u5f53\u8bf4\u51fa\u6765\u5927\u5bb6\u8ba8\u8bba\u7684\u65f6\u5019\uff0c\u95ee\u4f1a\u5feb\u4e48\uff1f\u6211\u4e5f\u61f5\u903c\u4e86\u3002<br /><br />\u4e8e\u662f\u6211\u5199\u4ee3\u7801\u6d4b\u8bd5\u4e86\u4e0b\uff0c\u903b\u8f91\u662f\u4e00\u6279 id \uff0c\u542f\u52a8\u4e24\u4e2a\u7ebf\u7a0b\u53bb\u67e5\u8be2\uff0c\u7136\u540e\u770b\u8017\u65f6\uff0c\u7ed3\u679c shuffle \u7684\u771f\u7684\u5feb\u4e00\u4e9b\u3002<br /><br /><br />\u5bf9\u4e8e\u8fd9\u4e2a\u7ed3\u679c\uff0c\u6709\u4eba\u4ece\u539f\u7406\u4e0a\u5e2e\u89e3\u6790\u4e0b\u4e48\uff1f\u6216\u8005\u6211\u8fd9\u4e2a\u7ed3\u8bba\u662f\u9519\u7684\uff1f", 
      "date_published": "2024-10-15T04:54:08+00:00", 
      "title": "\u5173\u4e8e MySQL \u67e5\u8be2\u54a8\u8be2", 
      "id": "https://www.v2ex.com/t/1080432"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/luxinfl", 
        "name": "luxinfl", 
        "avatar": "https://cdn.v2ex.com/avatar/8cdf/386b/391508_large.png?m=1728717691"
      }, 
      "url": "https://www.v2ex.com/t/1079610", 
      "date_modified": "2024-10-12T09:42:56+00:00", 
      "content_html": "<p>\u662f\u8fd9\u6837\u7684\uff0c\u6709\u5f20\u8868 tableA,\u91cc\u9762\u6709 220 \u4e07\u6761\u6570\u636e\u3002\n\u73b0\u5728\u9700\u8981\u5220\u9664\u5176\u4e2d 130 \u591a\u4e07\u6761\u6570\u636e\uff0c\u800c\u4e14\u8fd9\u4e9b\u6570\u636e\u8fd8\u4f1a\u6709\u5173\u8054\u7684\u4e1a\u52a1\u8868\uff0c\u901a\u8fc7 tableA \u4e2d\u7684\u4e1a\u52a1\u7f16\u53f7\u5173\u8054\u3002\n\u600e\u4e48\u624d\u80fd\u5feb\u901f\u6e05\u695a\u8fd9\u4e9b\u6570\u636e\uff1f\u76f4\u63a5 delete \u7684\u8bdd\u5e94\u8be5\u4f1a\u5f88\u6162\u7684\u3002\n\u6211\u770b\u4e86\u6267\u884c\u8ba1\u5212,type=ALL,filter=100.00,extra=Using where</p>\n", 
      "date_published": "2024-10-12T07:22:37+00:00", 
      "title": "\u8bf7\u6559\u4e2a\u95ee\u9898\uff0c\u5982\u4f55\u5feb\u901f\u7684\u5220\u9664 mysql \u7684\u6570\u636e", 
      "id": "https://www.v2ex.com/t/1079610"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/Gabrielle70", 
        "name": "Gabrielle70", 
        "avatar": "https://cdn.v2ex.com/gravatar/ffb0294f700d2e4fa8a1de41ce6f1e67?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1078844", 
      "date_modified": "2024-10-10T05:35:29+00:00", 
      "content_html": "<p>\u6211\u7535\u8111 Mysql \u88c5\u5728 C \u76d8, \u4f46\u662f Mysql \u6570\u636e\u6587\u4ef6\u5939\u653e\u5728 D \u76d8.  </p>\n<p>\u73b0\u5728 C \u76d8\u574f\u4e86, \u6211\u6362\u4e86 1 \u5757 C \u76d8\u540e, \u65b0\u88c5\u4e86 1 \u4e2a\u540c\u6837\u7248\u672c\u7684 mysql, \u540c\u65f6\u6307\u5b9a\u6570\u636e\u6587\u4ef6\u5939\u4e3a\u539f\u6765\u7684\u5728 D \u76d8\u4e0a\u7684 Mysql \u6570\u636e\u6587\u4ef6\u5939.  </p>\n<p>\u73b0\u5728\u95ee\u9898\u662f mysqlworkbench \u94fe\u63a5 mysql \u540e\u6b7b\u6d3b\u4e0d\u663e\u793a D \u76d8\u4e0a\u7684\u6570\u636e\u5e93, \u8bf7\u5927\u4f6c\u652f\u62db.  \u8c22\u8c22</p>\n<p>\u8c22\u8c22</p>\n", 
      "date_published": "2024-10-10T04:59:55+00:00", 
      "title": "\u6c42\u52a9:Mysql \u6570\u636e\u6587\u4ef6\u5939\u5982\u4f55\u88ab\u65b0\u5b89\u88c5\u7684 Mysql \u8bfb\u53d6", 
      "id": "https://www.v2ex.com/t/1078844"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/blacklinux", 
        "name": "blacklinux", 
        "avatar": "https://cdn.v2ex.com/avatar/177f/9e78/133075_large.png?m=1690126853"
      }, 
      "url": "https://www.v2ex.com/t/1076510", 
      "date_modified": "2024-09-28T11:07:23+00:00", 
      "content_html": "<p>\u60f3\u8981\u8ba9\u4e00\u4e2a mysql \u7684\u5e93\u80fd\u7528 mongodb \u7684\u5ba2\u6237\u7aef\u53bb\u8fde\u63a5\u5e76\u80fd\u7b80\u5355\u7684\u67e5\u8be2</p>\n", 
      "date_published": "2024-09-28T03:52:51+00:00", 
      "title": "mysql \u6709\u6ca1\u6709\u4ec0\u4e48\u4e2d\u95f4\u4ef6\u80fd\u6a21\u62df mongodb?", 
      "id": "https://www.v2ex.com/t/1076510"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/BeforeTooLate", 
        "name": "BeforeTooLate", 
        "avatar": "https://cdn.v2ex.com/avatar/0dae/9391/455039_large.png?m=1769153923"
      }, 
      "url": "https://www.v2ex.com/t/1076483", 
      "date_modified": "2024-09-28T11:07:25+00:00", 
      "content_html": "\u901a\u8fc7\u6dfb\u52a0 apt \u6e90\uff0c\u8c8c\u4f3c\u53ea\u80fd\u6309\u7167 mysql8 \u4e86\uff1f<br />wget <a target=\"_blank\" href=\"https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb\" rel=\"nofollow noopener\">https://dev.mysql.com/get/mysql-apt-config_0.8.32-1_all.deb</a><br />sudo dpkg -i mysql-apt-config_0.8.32-1_all.deb<br />\u6211\u67e5\u4e86 chatgpt \u90fd\u662f\u4e0b\u9762\u4e00\u6b65\u662f\u5728\u914d\u7f6e\u754c\u9762\u4e2d\uff0c\u9009\u62e9 \"MySQL 5.7\" \u4f5c\u4e3a\u670d\u52a1\u5668\u7248\u672c\uff0c\u6309 Enter \u786e\u8ba4\u3002<br />\u8fd8\u662f\u6211\u59ff\u52bf\u4e0d\u5bf9\uff0c\u627e\u4e0d\u5230 5.7 \u9009\u9879\u4e48\u3002\u6700\u540e\u5b89\u88c5\u4e0b\u6765\u90fd\u662f 8.4", 
      "date_published": "2024-09-28T01:55:51+00:00", 
      "title": "\u8bf7\u95ee debian12 mysql5.7 \u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0 apt \u6e90\u5b89\u88c5\u5417\uff1f", 
      "id": "https://www.v2ex.com/t/1076483"
    }, 
    {
      "author": {
        "url": "https://www.v2ex.com/member/doyouknow", 
        "name": "doyouknow", 
        "avatar": "https://cdn.v2ex.com/gravatar/5ea41f727b153ddc5204a004ddd4851c?s=73&d=retro"
      }, 
      "url": "https://www.v2ex.com/t/1075883", 
      "date_modified": "2024-09-26T02:47:12+00:00", 
      "content_html": "\u516c\u53f8\u7ed9\u7a0b\u5e8f\u5458\u5b89\u6392\u7684\u4efb\u52a1\uff0c\u5347\u7ea7 mysql \uff0c\u7834\u516c\u53f8\u4e24\u4e2a\u8fd0\u7ef4\u4e5f\u6ca1\u6709\uff0c\u4e4b\u524d\u6ca1\u641e\u8fc7 mysql \u5347\u7ea7\uff01<br />1.\u4e0d\u77e5\u9053 mysql \u7684\u6f0f\u6d1e\u53bb\u54ea\u4e0b\u8f7d <br />\t\u7ecf\u8fc7\u4e00\u987f\u641c\u7d22\uff1a <a target=\"_blank\" href=\"https://www.oracle.com/security-alerts/cpujan2024.html\" rel=\"nofollow noopener\">https://www.oracle.com/security-alerts/cpujan2024.html</a><br />    \u70b9\u51fb\u4e0b\u8f7d\uff0c\u7136\u540e\u8f93\u5165\u8d26\u53f7\u663e\u793a\u8ba9\u8ba9\u586b\u5199 \uff1a*Support Identifier\t\u8fd9\u4e2a\u6709\u586b\u4e0d\u4e0a\u6b63\u786e\u7684\u503c<br /><br />    Connect your User Account<br />    Next<br /><br />    We need to connect your user account to a Support Identifier. Access and privileges are approved by an Administrator in your organization. You need to add at least one Support Identifier to proceed.<br />    <br />2.\u6211\u5df2\u7ecf\u6211\u80fd\u4e3a\u529b\u4e86 \u6073\u6c42\u5927\u4f6c\u5e2e\u5fd9\uff0c\u5c0f\u5f1f\u80fd\u529b\u6709\u9650", 
      "date_published": "2024-09-26T01:55:31+00:00", 
      "title": "\u5927\u4f6c\u6c42\u52a9\uff0c mysql8.0.22 \u7684\u6f0f\u6d1e\u54ea\u91cc\u4e0b\u8f7d", 
      "id": "https://www.v2ex.com/t/1075883"
    }
  ]
}