TiDB v6.1 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p Note: • When you connect to a TiDB Serverless cluster, you must set as folows: spring: datasource: url: jdbc:mysql://xxx.tidbcloud.com:4000/test?sslMode=VERIFY_IDENTITY& �→ enabledTLSProtocols=TLSv1.2,TLSv1.3 username: 2aEp24QWEDLqRFs.root password: 123456 driver-class-name: Driver"/> 0 码力 | 4487 页 | 84.44 MB | 1 年前 3
TiDB v5.4 Documentationdeploy TiDB using TiUP: • If you use secret keys, specify the path of the keys through -i or -- �→ identity_file. • If you use passwords, add the -p flag to enter the password interaction window. • If password-free issue, confirm whether you have specified the private key by running tiup �→ cluster deploy -i identity_file: • If the -i flag is not specified, it might be that TiUP does not automatically find the remote host using the specified private key. You can verify it by manually executing the ssh -i �→ identity_file user@remote command. • If a password is used to log in to the remote host, make sure that0 码力 | 3650 页 | 52.72 MB | 1 年前3
TiDB v8.5 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p 149 Note: • When you connect to a TiDB Cloud Serverless cluster e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode.VERIFY_ �→ IDENTITY.name()); mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; "database": ${tidb_db_name}, "autocommit": autocommit } if ${ca_path}: db_conf["ssl_mode"] = "VERIFY_IDENTITY" db_conf["ssl"] = {"ca": ${ca_path}} return MySQLdb.connect(**db_conf) When using this function 0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.4 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p 144 Note: • When you connect to a TiDB Cloud Serverless cluster e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode.VERIFY_ �→ IDENTITY.name()); mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; "database": ${tidb_db_name}, "autocommit": autocommit } if ${ca_path}: db_conf["ssl_mode"] = "VERIFY_IDENTITY" db_conf["ssl"] = {"ca": ${ca_path}} return MySQLdb.connect(**db_conf) When using this function 0 码力 | 6705 页 | 110.86 MB | 10 月前3
TiDB v7.6 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p Note: • When you connect to a TiDB Serverless cluster, you must e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode. �→ VERIFY_IDENTITY.name()); 135 mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; "database": ${tidb_db_name}, "autocommit": autocommit } if ${ca_path}: db_conf["ssl_mode"] = "VERIFY_IDENTITY" db_conf["ssl"] = {"ca": ${ca_path}} return MySQLdb.connect(**db_conf) When using this function 0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.5 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p 116 Note: • When you connect to a TiDB Serverless cluster, you e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode. �→ VERIFY_IDENTITY.name()); mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; ${tidb_db_name}, "autocommit": autocommit 157 } if ${ca_path}: db_conf["ssl_mode"] = "VERIFY_IDENTITY" db_conf["ssl"] = {"ca": ${ca_path}} return MySQLdb.connect(**db_conf) When using this function 0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v6.5 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p Note: • When you connect to a TiDB Serverless cluster, you must e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode. �→ VERIFY_IDENTITY.name()); mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; ${tidb_db_name}, "autocommit": autocommit } if ${ca_path}: 176 db_conf["ssl_mode"] = "VERIFY_IDENTITY" db_conf["ssl"] = {"ca": ${ca_path}} return MySQLdb.connect(**db_conf) When using this function 0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v7.1 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p 136 Note: • When you connect to a TiDB Serverless cluster, you e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode. �→ VERIFY_IDENTITY.name()); mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; ${tidb_db_name}, "autocommit": autocommit 177 } if ${ca_path}: db_conf["ssl_mode"] = "VERIFY_IDENTITY" db_conf["ssl"] = {"ca": ${ca_path}} return MySQLdb.connect(**db_conf) When using this function 0 码力 | 5716 页 | 104.74 MB | 1 年前3
TiDB v8.2 DocumentationTRUNCATE or DROP operation on partitioned tables #54068 @Lloyd-Pottiger • Upgrade the version of Azure Identity Libraries and Microsoft Authentication Library to enhance security #53990 @hawkingrei • Set the mysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p 119 Note: • When you connect to a TiDB Serverless cluster, you e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode.VERIFY_ �→ IDENTITY.name()); mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; 0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v8.3 Documentationmysql --connect-timeout 15 -u '.root' -h -P 4000 -D test �→ --ssl-mode=VERIFY_IDENTITY --ssl-ca=/etc/ssl/cert.pem -p 122 Note: • When you connect to a TiDB Serverless cluster, you e}); if (${tidb_use_ssl}) { mysqlDataSource.setSslMode(PropertyDefinitions.SslMode.VERIFY_ �→ IDENTITY.name()); mysqlDataSource.setEnabledTLSProtocols("TLSv1.2,TLSv1.3"); } return mysqlDataSource; "database": ${tidb_db_name}, "autocommit": autocommit } if ${ca_path}: db_conf["ssl_mode"] = "VERIFY_IDENTITY" db_conf["ssl"] = {"ca": ${ca_path}} return MySQLdb.connect(**db_conf) When using this function 0 码力 | 6606 页 | 109.48 MB | 10 月前3
共 31 条
- 1
- 2
- 3
- 4













