{"id":10608,"date":"2022-09-30T10:48:07","date_gmt":"2022-09-30T02:48:07","guid":{"rendered":"https:\/\/www.gbase8.cn\/?p=10608"},"modified":"2024-03-12T09:41:03","modified_gmt":"2024-03-12T01:41:03","slug":"gbase-8a-ipv6%e9%9b%86%e7%be%a4%e5%ae%89%e8%a3%85%e5%92%8c%e6%89%a9%e5%ae%b9%e8%ae%b0%e5%bd%95","status":"publish","type":"post","link":"https:\/\/www.gbase8.cn\/en\/10608","title":{"rendered":"\u5357\u5927\u901a\u7528GBase 8a \u4fdd\u7559IPv6\u539f\u6837\u529f\u80fd\u7684\u5b89\u88c5\u548c\u6269\u5bb9\u8bb0\u5f55"},"content":{"rendered":"<p>GBase 8a\u4ece\u4eceV82Build43\u5f00\u59cb\u652f\u6301ipv6\uff0c\u6709\u522b\u4e8eipv4\u53ea\u6709\u6570\u5b57\u548c\u70b9\uff0cipv6\u5305\u542b\u5b57\u6bcd\uff0c\u4e14\u6709\u7f29\u5199\u5f62\u5f0f\uff0c\u4e3a\u4e86\u65b9\u4fbf\u5ba2\u6237\u5bf9IP\u505a\u5b57\u7b26\u4e32\u5bf9\u6bd4\uff0c\u6240\u4ee5\u65b0\u7248\u672c\u5c06\u3010\u5fe0\u5b9e\u4fdd\u7559\u3011\u5ba2\u6237\u586b\u5199\u7684ipv6\u5730\u5740\u539f\u6837\uff0c\u9664\u4e86\u5b57\u6bcd\u6839\u636elinux\u4e60\u60ef\u53d8\u6210\u5c0f\u5199\u3002<\/p>\n\n\n\n<p>\u8001\u7248\u672c\u7684ipv6\u4f1a\u81ea\u52a8\u538b\u7f29\uff0c\u5e76\u4e14\u5728\u4e0d\u8db34\u4f4d\u7684\u90e8\u5206\u8865\u8db3\u524d\u9762\u76840\uff0c \u6bd4\u5982<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1:2:0:0::8\n\u4f1a\u53d8\u6210\n0001:0002::0008<\/code><\/pre>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_84 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Directory Navigation<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-6a2aea6c877c6\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-6a2aea6c877c6\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.gbase8.cn\/en\/10608\/#%E6%9C%AC%E6%96%87%E7%9B%AE%E6%A0%87\" >\u672c\u6587\u76ee\u6807<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.gbase8.cn\/en\/10608\/#ipv6%E9%9B%86%E7%BE%A4%E5%AE%89%E8%A3%85\" >ipv6\u96c6\u7fa4\u5b89\u88c5<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.gbase8.cn\/en\/10608\/#ipv6%E9%9B%86%E7%BE%A4%E6%89%A9%E5%AE%B9%E8%AE%B0%E5%BD%95\" >ipv6\u96c6\u7fa4\u6269\u5bb9\u8bb0\u5f55<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.gbase8.cn\/en\/10608\/#%E6%80%BB%E7%BB%93\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%9C%AC%E6%96%87%E7%9B%AE%E6%A0%87\"><\/span>\u672c\u6587\u76ee\u6807<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>1\u3001\u65b0\u5efa\u4e00\u4e2aipv6\u5355\u8282\u70b9\uff0c\u56e0\u4e3a\u6211\u53ea\u67093\u4e2a\u865a\u62df\u673a\u3002<\/p>\n\n\n\n<p>2\u3001\u6269\u5bb92\u4e2a\uff0c\u53d8\u62103\u8282\u70b9\u96c6\u7fa4<\/p>\n\n\n\n<p>3\u3001ipv6\u5730\u5740\u6709\u5404\u79cd\u5199\u6cd5\uff0c\u770b\u6700\u7ec8\u7ed3\u679c\u662f\u5426\u4fdd\u7559\u4e86\u539f\u6837\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ipv6%E9%9B%86%E7%BE%A4%E5%AE%89%E8%A3%85\"><\/span>ipv6\u96c6\u7fa4\u5b89\u88c5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u8fc7\u7a0b\u548c\u53c2\u6570\u4e0d\u518d\u89e3\u91ca\uff0c\u76f4\u63a5\u63d0\u4f9b\u5b89\u88c5\u8fc7\u7a0b\u8bb0\u5f55\u3002 IP\u662f 2cd:2:3:4:5:6:7:102\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;root@localhost gcinstall_952435_p3]# cat demo.options\r\ninstallPrefix= \/opt\/gbase\r\ncoordinateHost = 2cd:2:3:4:5:6:7:102\r\ncoordinateHostNodeID = 102\r\ndataHost = 2cd:2:3:4:5:6:7:102\r\n#existCoordinateHost =\r\n#existDataHost =\r\ndbaUser = gbase\r\ndbaGroup = gbase\r\ndbaPwd = 'gbase1234'\r\nrootPwd = ''\r\n#dbRootPwd = ''\r\n#rootPwdFile = rootPwd.json\r\n&#91;root@localhost gcinstall_952435_p3]#\r\n\r\n\r\nDo you accept the above licence agreement (&#91;Y,y]\/&#91;N,n])? y\r\n*********************************************************************************\r\n                     Welcome to install GBase products\r\n*********************************************************************************\r\nEnvironmental Checking on gcluster nodes.\r\nCoordinateHost:\r\n2cd:2:3:4:5:6:7:102\r\nDataHost:\r\n2cd:2:3:4:5:6:7:102\r\nAre you sure to install GCluster on these nodes (&#91;Y,y]\/&#91;N,n])?\r\n\r\n&#91;gbase@localhost ~]$ gcadmin\r\nCLUSTER STATE:         ACTIVE\r\n\r\n======================================================================\r\n|               GBASE COORDINATOR CLUSTER INFORMATION                |\r\n======================================================================\r\n|   NodeName   |      IpAddress      | gcware | gcluster | DataState |\r\n----------------------------------------------------------------------\r\n| coordinator1 | 2cd:2:3:4:5:6:7:102 |  OPEN  |   OPEN   |     0     |\r\n----------------------------------------------------------------------\r\n====================================================================\r\n|             GBASE CLUSTER FREE DATA NODE INFORMATION             |\r\n====================================================================\r\n| NodeName  |      IpAddress      | gnode | syncserver | DataState |\r\n--------------------------------------------------------------------\r\n| FreeNode1 | 2cd:2:3:4:5:6:7:102 | OPEN  |    OPEN    |     0     |\r\n--------------------------------------------------------------------\r\n\r\n0 virtual cluster\r\n1 coordinator node\r\n1 free data node\r\n\r\n\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gcadmin distribution gcChangeInfo.xml p 1 d 0\r\ngcadmin generate distribution ...\r\n\r\n&#91;warning]: parameter &#91;d num] is 0, the new distribution will has no segment backup\r\nplease ensure this is ok, input &#91;Y,y] or &#91;N,n]: y\r\nNOTE: node &#91;2cd:2:3:4:5:6:7:102] is coordinator node, it shall be data node too\r\ngcadmin generate distribution successful\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gccli\r\n\r\nGBase client 9.5.2.43.5_patch.39555014. Copyright (c) 2004-2022, GBase.  All Rights Reserved.\r\n\r\ngbase> create database testdb;\r\nERROR 1707 (HY000): gcluster command error: (GBA-02CO-0003) nodedatamap is not initialized.\r\ngbase> initnodedatamap;\r\nQuery OK, 0 rows affected (Elapsed: 00:00:00.23)\r\n\r\ngbase> create database testdb;\r\nQuery OK, 1 row affected (Elapsed: 00:00:00.00)\r\n\r\ngbase> use testdb;\r\nQuery OK, 0 rows affected (Elapsed: 00:00:00.00)\r\n\r\ngbase> create table t as select now() d from dual;\r\nQuery OK, 1 row affected (Elapsed: 00:00:00.38)\r\n\r\ngbase> select * from t;\r\n+---------------------+\r\n| d                   |\r\n+---------------------+\r\n| 2022-09-27 07:34:02 |\r\n+---------------------+\r\n1 row in set (Elapsed: 00:00:00.01)\r\n\r\ngbase> ^CAborted\r\n&#91;gbase@localhost gcinstall_952435_p3]$<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"ipv6%E9%9B%86%E7%BE%A4%E6%89%A9%E5%AE%B9%E8%AE%B0%E5%BD%95\"><\/span>ipv6\u96c6\u7fa4\u6269\u5bb9\u8bb0\u5f55<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>\u65b0\u6269\u5bb9\u76842\u4e2aIP\u5206\u522b\u662f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>2cd:2:3:4:5:6:7:202\n2cd:02:003:0004:5:06:007:203<\/code><\/pre>\n\n\n\n<p>\u8bf7\u6ce8\u610f\u7b2c\u4e8c\u4e2aIP\u7684\u5199\u6cd5\uff0c\u6545\u610f\u589e\u52a0\u4e86\u5404\u79cd\u524d\u7f6e0<\/p>\n\n\n\n<pre class=\"wp-block-code has-small-font-size\"><code>&#91;gbase@localhost gcinstall_952435_p3]$ cat add.option\r\ninstallPrefix= \/opt\/gbase\r\ncoordinateHost = 2cd:2:3:4:5:6:7:202,2cd:02:003:0004:5:06:007:203\r\ncoordinateHostNodeID = 202,203\r\ndataHost = 2cd:2:3:4:5:6:7:202,2cd:02:003:0004:5:06:007:203\r\nexistCoordinateHost = 2cd:2:3:4:5:6:7:102\r\nexistDataHost = 2cd:2:3:4:5:6:7:102\r\ndbaUser = gbase\r\ndbaGroup = gbase\r\ndbaPwd = 'gbase1234'\r\nrootPwd = ''\r\n#dbRootPwd = ''\r\n#rootPwdFile = rootPwd.json\r\n&#91;gbase@localhost gcinstall_952435_p3]$ .\/gcinstall.py --silent=add.option\r\n*********************************************************************************\r\nDo you accept the above licence agreement (&#91;Y,y]\/&#91;N,n])? y\r\n*********************************************************************************\r\n                     Welcome to install GBase products\r\n*********************************************************************************\r\nEnvironmental Checking on gcluster nodes.\r\nCoordinateHost:\r\n2cd:2:3:4:5:6:7:202    2cd:02:003:0004:5:06:007:203\r\nDataHost:\r\n2cd:2:3:4:5:6:7:202    2cd:02:003:0004:5:06:007:203\r\nAre you sure to install GCluster on these nodes (&#91;Y,y]\/&#91;N,n])? y\r\n\r\n\r\n2cd:2:3:4:5:6:7:102     install cluster on host 2cd:2:3:4:5:6:7:102 successfully.\r\n2cd:02:003:0004:5:06:007:203    install cluster on host 2cd:02:003:0004:5:06:007:203 successfully.\r\n2cd:2:3:4:5:6:7:202     install cluster on host 2cd:2:3:4:5:6:7:202 successfully.\r\nupdate and sync configuration file...\r\nStarting all gcluster nodes...\r\nsync coordinator system tables ...\r\ncheck database user and password ...\r\ncheck database user and password successful\r\ncheck rsync command status on available coordinator and new coordinator\r\nuse rsync command sync metadata\r\nadding new datanodes to gcware...\r\nExtendCluster Successfully.\r\n&#91;gbase@localhost gcinstall_952435_p3]$\r\n\r\n\r\n\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gcadmin\r\nCLUSTER STATE:         ACTIVE\r\nVIRTUAL CLUSTER MODE:  NORMAL\r\n\r\n===============================================================================\r\n|                    GBASE COORDINATOR CLUSTER INFORMATION                    |\r\n===============================================================================\r\n|   NodeName   |          IpAddress           | gcware | gcluster | DataState |\r\n-------------------------------------------------------------------------------\r\n| coordinator1 |     2cd:2:3:4:5:6:7:102      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator2 |     2cd:2:3:4:5:6:7:202      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator3 | 2cd:02:003:0004:5:06:007:203 |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n=========================================================================================================\r\n|                                    GBASE DATA CLUSTER INFORMATION                                     |\r\n=========================================================================================================\r\n| NodeName |                IpAddress                 | DistributionId | gnode | syncserver | DataState |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node1   |           2cd:2:3:4:5:6:7:102            |       1        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node2   |           2cd:2:3:4:5:6:7:202            |                | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node3   |       2cd:02:003:0004:5:06:007:203       |                | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$\r\n&#91;gbase@localhost gcinstall_952435_p3]$ cat gcChangeInfo.xml\r\n&lt;?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n&lt;servers>\r\n &lt;rack>\r\n  &lt;node ip=\"2cd:2:3:4:5:6:7:202\"\/>\r\n  &lt;node ip=\"2cd:02:003:0004:5:06:007:203\"\/>\r\n  &lt;node ip=\"2cd:2:3:4:5:6:7:102\"\/>\r\n &lt;\/rack>\r\n&lt;\/servers>\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gcadmin distribution gcChangeInfo.xml  p 1 d 1\r\ngcadmin generate distribution ...\r\n\r\nNOTE: node &#91;2cd:2:3:4:5:6:7:202] is coordinator node, it shall be data node too\r\nNOTE: node &#91;2cd:02:003:0004:5:06:007:203] is coordinator node, it shall be data node too\r\ncopy system table to 2cd:2:3:4:5:6:7:202\r\ncopy system table to 2cd:02:003:0004:5:06:007:203\r\ngcadmin generate distribution successful\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gcadmin\r\nCLUSTER STATE:         ACTIVE\r\nVIRTUAL CLUSTER MODE:  NORMAL\r\n\r\n===============================================================================\r\n|                    GBASE COORDINATOR CLUSTER INFORMATION                    |\r\n===============================================================================\r\n|   NodeName   |          IpAddress           | gcware | gcluster | DataState |\r\n-------------------------------------------------------------------------------\r\n| coordinator1 |     2cd:2:3:4:5:6:7:102      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator2 |     2cd:2:3:4:5:6:7:202      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator3 | 2cd:02:003:0004:5:06:007:203 |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n=========================================================================================================\r\n|                                    GBASE DATA CLUSTER INFORMATION                                     |\r\n=========================================================================================================\r\n| NodeName |                IpAddress                 | DistributionId | gnode | syncserver | DataState |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node1   |           2cd:2:3:4:5:6:7:102            |      1,2       | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node2   |           2cd:2:3:4:5:6:7:202            |       2        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node3   |       2cd:02:003:0004:5:06:007:203       |       2        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$\r\n\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gccli\r\n\r\nGBase client 9.5.2.43.5_patch.39555014. Copyright (c) 2004-2022, GBase.  All Rights Reserved.\r\n\r\ngbase> initnodedatamap;\r\nQuery OK, 0 rows affected, 4 warnings (Elapsed: 00:00:00.83)\r\n\r\ngbase> rebalance instance;\r\nQuery OK, 1 row affected (Elapsed: 00:00:00.70)\r\n\r\ngbase> refreshnodedatamap drop 1;\r\nQuery OK, 0 rows affected, 6 warnings (Elapsed: 00:00:01.38)\r\n\r\ngbase> exit\r\nBye\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gcadmin\r\nCLUSTER STATE:         ACTIVE\r\nVIRTUAL CLUSTER MODE:  NORMAL\r\n\r\n===============================================================================\r\n|                    GBASE COORDINATOR CLUSTER INFORMATION                    |\r\n===============================================================================\r\n|   NodeName   |          IpAddress           | gcware | gcluster | DataState |\r\n-------------------------------------------------------------------------------\r\n| coordinator1 |     2cd:2:3:4:5:6:7:102      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator2 |     2cd:2:3:4:5:6:7:202      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator3 | 2cd:02:003:0004:5:06:007:203 |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n=========================================================================================================\r\n|                                    GBASE DATA CLUSTER INFORMATION                                     |\r\n=========================================================================================================\r\n| NodeName |                IpAddress                 | DistributionId | gnode | syncserver | DataState |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node1   |           2cd:2:3:4:5:6:7:102            |      1,2       | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node2   |           2cd:2:3:4:5:6:7:202            |       2        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node3   |       2cd:02:003:0004:5:06:007:203       |       2        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gcadmin rmdistribution 1\r\ncluster distribution ID &#91;1]\r\nit will be removed now\r\nplease ensure this is ok, input &#91;Y,y] or &#91;N,n]: y\r\ngcadmin remove distribution &#91;1] success\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gcadmin\r\nCLUSTER STATE:         ACTIVE\r\nVIRTUAL CLUSTER MODE:  NORMAL\r\n\r\n===============================================================================\r\n|                    GBASE COORDINATOR CLUSTER INFORMATION                    |\r\n===============================================================================\r\n|   NodeName   |          IpAddress           | gcware | gcluster | DataState |\r\n-------------------------------------------------------------------------------\r\n| coordinator1 |     2cd:2:3:4:5:6:7:102      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator2 |     2cd:2:3:4:5:6:7:202      |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n| coordinator3 | 2cd:02:003:0004:5:06:007:203 |  OPEN  |   OPEN   |     0     |\r\n-------------------------------------------------------------------------------\r\n=========================================================================================================\r\n|                                    GBASE DATA CLUSTER INFORMATION                                     |\r\n=========================================================================================================\r\n| NodeName |                IpAddress                 | DistributionId | gnode | syncserver | DataState |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node1   |           2cd:2:3:4:5:6:7:102            |       2        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node2   |           2cd:2:3:4:5:6:7:202            |       2        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n|  node3   |       2cd:02:003:0004:5:06:007:203       |       2        | OPEN  |    OPEN    |     0     |\r\n---------------------------------------------------------------------------------------------------------\r\n\r\n&#91;gbase@localhost gcinstall_952435_p3]$\r\n&#91;gbase@localhost gcinstall_952435_p3]$ gccli\r\n\r\nGBase client 9.5.2.43.5_patch.39555014. Copyright (c) 2004-2022, GBase.  All Rights Reserved.\r\n\r\ngbase> seelct * from testdb.t;\r\nERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your GBase server version for the right syntax to use near 'seelct * from testdb.t' at line 1\r\ngbase> select * from testdb.t;\r\n+---------------------+\r\n| d                   |\r\n+---------------------+\r\n| 2022-09-27 07:34:02 |\r\n+---------------------+\r\n1 row in set (Elapsed: 00:00:00.09)\r\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%E6%80%BB%E7%BB%93\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>GBase 8a\u8003\u8651\u5230\u4e86ipv6\u5305\u542b\u5b57\u6bcd\u7684\u7279\u6b8a\u6027\uff0c\u5c06\u5b8c\u6574\u4fdd\u7559\u5ba2\u6237\u8f93\u5165\u7684\u5730\u5740\uff0c\u65b9\u4fbf\u5e94\u7528\u505a\u5bf9\u6bd4\u548c\u5224\u65ad\u3002<\/p>\n\n\n\n<p>\u6ce8\u610f\uff1a\u8be5ipv6\u7684\u529f\u80fd\u9700\u8981\u65b0\u7684\u7248\u672c\uff0c\u8bf7\u63d0\u524d\u548c\u5382\u5546\u786e\u8ba4\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>\u5357\u5927\u901a\u7528GBase 8a\u4ece\u4eceV82Build43\u5f00\u59cb\u652f\u6301ipv6\uff0c\u6709\u522b\u4e8eipv4\u53ea\u6709\u6570\u5b57\u548c\u70b9\uff0cipv6\u5305\u542b\u5b57\u6bcd\uff0c\u4e14\u6709\u7f29\u5199\u5f62\u5f0f\uff0c\u4e3a\u4e86\u65b9\u4fbf\u5ba2\u6237\u5bf9IP\u505a\u5b57\u7b26\u4e32\u5bf9\u6bd4\uff0c\u6240\u4ee5\u65b0\u7248\u672c\u5c06\u3010\u5fe0\u5b9e\u4fdd\u7559\u3011\u5ba2\u6237\u586b\u5199\u7684ipv6\u5730\u5740\u539f\u6837\uff0c\u9664\u4e86\u5b57\u6bcd\u6839\u636elinux\u4e60\u60ef\u53d8\u6210\u5c0f\u5199\u3002<\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[75,58],"class_list":["post-10608","post","type-post","status-publish","format-standard","hentry","category-gbase8a","tag-75","tag-ipv6"],"_links":{"self":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/10608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/comments?post=10608"}],"version-history":[{"count":5,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/10608\/revisions"}],"predecessor-version":[{"id":10615,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/posts\/10608\/revisions\/10615"}],"wp:attachment":[{"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/media?parent=10608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/categories?post=10608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gbase8.cn\/en\/wp-json\/wp\/v2\/tags?post=10608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}