 1.3 Go practices in TiDB   姚维freebsd.org/cgi/man.cgi?query=fail ● Define failpoints by comments ○ gofail enable converts comments to code ○ gofail disable converts code to comments Gofail in TiDB func (txn *tikvTxn) Commit(ctx context will use the same failpoint ● No tools to enable and disable the failpoint automatically ● Code in comments can’t be analyzed by static analysis tools https://github.com/pingcap/failpoint The ideal form0 码力 | 32 页 | 1.76 MB | 6 月前3 1.3 Go practices in TiDB   姚维freebsd.org/cgi/man.cgi?query=fail ● Define failpoints by comments ○ gofail enable converts comments to code ○ gofail disable converts code to comments Gofail in TiDB func (txn *tikvTxn) Commit(ctx context will use the same failpoint ● No tools to enable and disable the failpoint automatically ● Code in comments can’t be analyzed by static analysis tools https://github.com/pingcap/failpoint The ideal form0 码力 | 32 页 | 1.76 MB | 6 月前3
 TiDB v5.3 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To Hint syntax in these earlier versions, add the --comments option when starting the client. For example: mysql -h �→ 127.0.0.1 -P 4000 -uroot --comments. 9.3.4.2.1 Syntax Optimizer hints are case insensitive0 码力 | 2996 页 | 49.30 MB | 1 年前3 TiDB v5.3 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To Hint syntax in these earlier versions, add the --comments option when starting the client. For example: mysql -h �→ 127.0.0.1 -P 4000 -uroot --comments. 9.3.4.2.1 Syntax Optimizer hints are case insensitive0 码力 | 2996 页 | 49.30 MB | 1 年前3
 TiDB v5.2 DocumentationEnjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To Hint syntax in these earlier versions, add the --comments option when starting the client. For example: mysql -h �→ 127.0.0.1 -P 4000 -uroot --comments. 9.3.4.2.1 Syntax Optimizer hints are case insensitive insensitive and specified within /*+ ... */ comments follow- ing the SELECT, UPDATE or DELETE keyword in a SQL statement. Optimizer hints are not currently supported for INSERT statements. Multiple hints0 码力 | 2848 页 | 47.90 MB | 1 年前3 TiDB v5.2 DocumentationEnjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To Hint syntax in these earlier versions, add the --comments option when starting the client. For example: mysql -h �→ 127.0.0.1 -P 4000 -uroot --comments. 9.3.4.2.1 Syntax Optimizer hints are case insensitive insensitive and specified within /*+ ... */ comments follow- ing the SELECT, UPDATE or DELETE keyword in a SQL statement. Optimizer hints are not currently supported for INSERT statements. Multiple hints0 码力 | 2848 页 | 47.90 MB | 1 年前3
 TiDB v5.1 DocumentationHint syntax in these earlier versions, add the --comments option when starting the client. For example: mysql -h �→ 127.0.0.1 -P 4000 -uroot --comments. 9.3.4.2.1 Syntax Optimizer hints are case insensitive insensitive and specified within /*+ ... */ comments follow- ing the SELECT, UPDATE or DELETE keyword in a SQL statement. Optimizer hints are not currently supported for INSERT statements. Multiple hints if a hint is not applicable. Note: If the comments do not follow behind the specified keywords, they will be treated as common MySQL comments. The comments do not take effect, and no warning is reported0 码力 | 2745 页 | 47.65 MB | 1 年前3 TiDB v5.1 DocumentationHint syntax in these earlier versions, add the --comments option when starting the client. For example: mysql -h �→ 127.0.0.1 -P 4000 -uroot --comments. 9.3.4.2.1 Syntax Optimizer hints are case insensitive insensitive and specified within /*+ ... */ comments follow- ing the SELECT, UPDATE or DELETE keyword in a SQL statement. Optimizer hints are not currently supported for INSERT statements. Multiple hints if a hint is not applicable. Note: If the comments do not follow behind the specified keywords, they will be treated as common MySQL comments. The comments do not take effect, and no warning is reported0 码力 | 2745 页 | 47.65 MB | 1 年前3
 TiDB v5.4 Documentationthe issue that no log is output when the disk is fully written #3362 * Fix the issue that special comments in DDL statements cause the replication task to stop #3755 * Fix the issue that the service cannot SUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To0 码力 | 3650 页 | 52.72 MB | 1 年前3 TiDB v5.4 Documentationthe issue that no log is output when the disk is fully written #3362 * Fix the issue that special comments in DDL statements cause the replication task to stop #3755 * Fix the issue that the service cannot SUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To0 码力 | 3650 页 | 52.72 MB | 1 年前3
 TiDB v6.1 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To written in mybatis-generator.xml, which is the configuration file for Mybatis Generator. There are comments in the following configuration file to describe how to use it.0 码力 | 4487 页 | 84.44 MB | 1 年前3 TiDB v6.1 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To written in mybatis-generator.xml, which is the configuration file for Mybatis Generator. There are comments in the following configuration file to describe how to use it.0 码力 | 4487 页 | 84.44 MB | 1 年前3 TiDB v8.5 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host TiDB v8.5 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host- --port 4000 -u root -p --comments You can connect to TiDB using MySQL Shell, which can be used as a command-line tool for TiDB. To 0 码力 | 6730 页 | 111.36 MB | 10 月前3 TiDB v8.2 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host TiDB v8.2 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host- --port 4000 -u root -p --comments You can connect to TiDB using MySQL Shell, which can be used as a command-line tool for TiDB. To 0 码力 | 6549 页 | 108.77 MB | 10 月前3 TiDB v8.4 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host TiDB v8.4 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host- --port 4000 -u root -p --comments You can connect to TiDB using MySQL Shell, which can be used as a command-line tool for TiDB. To 0 码力 | 6705 页 | 110.86 MB | 10 月前3 TiDB v6.5 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host TiDB v6.5 DocumentationSUCCESSFULLY, Enjoy it ^-^ To connect TiDB: mysql --comments --host 127.0.0.1 --port 4001 -u �→ root -p (no password) To connect TiDB: mysql --comments --host 127.0.0.1 --port 4000 -u �→ root -p (no password) Enjoy it ^-^ To connect TiDB: mysql --host 127.0.0.1 --port 4000 -u root -p (no �→ password) --comments To view the dashboard: http://127.0.0.1:2379/dashboard PD client endpoints: [127.0.0.1:2379] To connect to TiDB using the following command: mysql --host- --port 4000 -u root -p --comments 336 You can connect to TiDB using MySQL Shell, which can be used as a command-line tool for TiDB 0 码力 | 5282 页 | 99.69 MB | 1 年前3
共 33 条
- 1
- 2
- 3
- 4













