TiDB v8.2 中文手册· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 226 4.4.4 连接池与连接参数 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4.3.1 Java 4.3.1.1 使用 JDBC 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。JDBC 是 Java 的数据访问 API。MySQL Connector/J 是 MySQL 对 JDBC 的实现。 本文档将展示如何使用 TiDB 和 JDBC 来完成以下任务: • 配置你的环境。 • 使用 JDBC 连接到 TiDB 集群。 • 构建并运行你的应 步:克隆示例代码仓库到本地 运行以下命令,将示例代码仓库克隆到本地: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart 第 2 步:配置连接信息 根据不同的 TiDB 部署方式,使用不同的方法连接到 TiDB 集群。 1. 在 TiDB Cloud 的0 码力 | 4987 页 | 102.91 MB | 10 月前3
TiDB v8.4 中文手册· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 242 4.4.4 连接池与连接参数 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4.3.1 Java 4.3.1.1 使用 JDBC 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。JDBC 是 Java 的数据访问 API。MySQL Connector/J 是 MySQL 对 JDBC 的实现。 本文档将展示如何使用 TiDB 和 JDBC 来完成以下任务: • 配置你的环境。 • 使用 JDBC 连接到 TiDB 集群。 • 构建并运行你的应 步:克隆示例代码仓库到本地 运行以下命令,将示例代码仓库克隆到本地: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart 第 2 步:配置连接信息 根据不同的 TiDB 部署方式,使用不同的方法连接到 TiDB 集群。 1. 在 TiDB Cloud 的0 码力 | 5072 页 | 104.05 MB | 10 月前3
TiDB v8.5 中文手册· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 246 4.4.4 连接池与连接参数 · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 4.3.1 Java 4.3.1.1 使用 JDBC 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。JDBC 是 Java 的数据访问 API。MySQL Connector/J 是 MySQL 对 JDBC 的实现。 本文档将展示如何使用 TiDB 和 JDBC 来完成以下任务: • 配置你的环境。 • 使用 JDBC 连接到 TiDB 集群。 • 构建并运行你的应 步:克隆示例代码仓库到本地 运行以下命令,将示例代码仓库克隆到本地: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart 第 2 步:配置连接信息 根据不同的 TiDB 部署方式,使用不同的方法连接到 TiDB 集群。 1. 在 TiDB Cloud 的0 码力 | 5095 页 | 104.54 MB | 10 月前3
跟我学Shiro - 张开涛Authrizer:授权器,或者访问控制器,用来决定主体是否有权限进行相应的操作;即控制 着用户能访问应用中的哪些功能; Realm:可以有 1 个或多个 Realm,可以认为是安全实体数据源,即用于获取安全实体的; 可以是 JDBC 实现,也可以是 LDAP 实现,或者内存实现等等;由用户提供;注意:Shiro 跟我学 Shiro——http://jinnianshilongnian.iteye.com/ 8 Memcached 服务器); SessionDAO:DAO 大家都用过,数据访问对象,用于会话的 CRUD,比如我们想把 Session 保存到数据库,那么可以实现自己的 SessionDAO,通过如 JDBC 写到数据库;比如想把 Session 放到 Memcached 中,可以实现自己的 Memcached SessionDAO;另外 SessionDAO 中可以使用 Cache 进行缓存,以提高性能; username=password,role1,role2 指定用户 名/密码及其角色;role.role1=permission1,permission2 指定角色及权限信息; org.apache.shiro.realm.jdbc.JdbcRealm:通过 sql 查询相应的信息,如“select password from users where username = ?”获取用户密码,“select password0 码力 | 219 页 | 4.16 MB | 10 月前3
13 Istio 流量管理原理与协议扩展 赵化冰网格内部 定义网格入口 • 服务端口 • Host • TLS 配置 • 路由配置 • 根据 Host 路由 • 根据 Header • 根据 URI 路由 目的地流量策略配置 • LB 策略 • 连接池配置 • 断路器配置 • TLS 配置 Gateway External Service 统一网格出口 • 出口地址(Gateway Workload) • 出口端口 Virtual Service0 码力 | 20 页 | 11.31 MB | 6 月前3
TiDB v8.5 DocumentationConnect to TiDB with JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial tutorial, you can learn how to use TiDB and JDBC to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using JDBC. • Build and run your application. Optionally, you can the sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart Step 2: Configure connection information Connect to your TiDB cluster0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 DocumentationConnect to TiDB with JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial tutorial, you can learn how to use TiDB and JDBC to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using JDBC. • Build and run your application. Optionally, you can the sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart Step 2: Configure connection information Connect to your TiDB cluster0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v8.3 DocumentationConnect to TiDB with JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial tutorial, you can learn how to use TiDB and JDBC to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using JDBC. • Build and run your application. Optionally, you can the sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart Step 2: Configure connection information Connect to your TiDB cluster0 码力 | 6606 页 | 109.48 MB | 10 月前3
TiDB v8.4 DocumentationConnect to TiDB with JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial tutorial, you can learn how to use TiDB and JDBC to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using JDBC. • Build and run your application. Optionally, you can the sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart Step 2: Configure connection information Connect to your TiDB cluster0 码力 | 6705 页 | 110.86 MB | 10 月前3
TiDB v8.1 DocumentationConnect to TiDB with JDBC TiDB is a MySQL-compatible database, and JDBC (Java Database Connectivity) is the data access API for Java. MySQL Connector/J is MySQL’s implementation of JDBC. In this tutorial tutorial, you can learn how to use TiDB and JDBC to accomplish the following tasks: • Set up your environment. • Connect to your TiDB cluster using JDBC. • Build and run your application. Optionally, you can the sample code reposi- tory: git clone https://github.com/tidb-samples/tidb-java-jdbc-quickstart.git cd tidb-java-jdbc-quickstart Step 2: Configure connection information Connect to your TiDB cluster0 码力 | 6479 页 | 108.61 MB | 10 月前3
共 32 条
- 1
- 2
- 3
- 4













