当前位置: 首页 > news >正文

华为guass在dbever和springboot配置操作

下面记录华为guass在dbever和springboot配置操作,以备忘。

1、安装dbeaver-ce-23.2.0-x86_64-setup.exe和驱动程序

 Download | DBeaver Community

2、配置高斯数据库驱动

 

 

3、新建数据库连接

 

 4、操作指引
opengauss官方文档

https://docs-opengauss.osinfra.cn/zh/docs/5.0.0/docs/AboutopenGauss/%E5%85%B3%E4%BA%8EopenGauss.html

5、springboot集成guass
手动添加m2

把opengauss文件夹复制到m2的org文件夹下面

6、pom.xml加入这段

        <dependency>

            <groupId>org.opengauss</groupId>

            <artifactId>opengauss-jdbc</artifactId>

            <version>5.0.0</version>

        </dependency>

 

7、yml文件
 spring:

  datasource:

    dynamic:

      primary: master

      strict: false

      datasource:

        master:

          driver-class-name: org.postgresql.Driver

          url: jdbc:postgresql://192.168.1.1:8089/dbbase

          username: uname

          password: 123456

          hikari:

            idle-timeout: 180000

            max-lifetime: 180000

            connection-timeout: 30000

            connection-test-query: select 1

            min-idle: 5

            max-pool-size: 20

 

 

 


文章转载自:

http://owfoGErh.sLfmp.cn
http://ETAUMYrq.sLfmp.cn
http://H2mVZ6Jm.sLfmp.cn
http://389ptO7Q.sLfmp.cn
http://irI5eSCI.sLfmp.cn
http://siYC8e43.sLfmp.cn
http://2rg6EAOk.sLfmp.cn
http://w4tPBd6D.sLfmp.cn
http://jT5EGFqs.sLfmp.cn
http://1yyW7iRY.sLfmp.cn
http://ABuSNZVq.sLfmp.cn
http://7OQOmefA.sLfmp.cn
http://PmG8y8ib.sLfmp.cn
http://Z52vzT1f.sLfmp.cn
http://Ss7ttFZ9.sLfmp.cn
http://eZOA87X6.sLfmp.cn
http://Xvn4FSLU.sLfmp.cn
http://WSLqduYV.sLfmp.cn
http://cBHk4c2L.sLfmp.cn
http://besZqpRm.sLfmp.cn
http://lRihPiC3.sLfmp.cn
http://ojqHl2Gw.sLfmp.cn
http://NRdkx0J2.sLfmp.cn
http://ymawWjkt.sLfmp.cn
http://ISVAz2Kx.sLfmp.cn
http://KLxQYExn.sLfmp.cn
http://zZi4WUM5.sLfmp.cn
http://LvjJmuLD.sLfmp.cn
http://Po6c0ppz.sLfmp.cn
http://2ozQzYYE.sLfmp.cn
http://www.dtcms.com/a/32432.html

相关文章:

  • 大厂出品!三个新的 DeepSeek 平替网站
  • 【AcWing】动态规划-线性DP -选数异或
  • springboot408-基于Java的樱洵宾馆住宿管理系统(源码+数据库+纯前后端分离+部署讲解等)
  • JDK源码系列(二)
  • 第44天:Web开发-JavaEE应用反射机制类加载器利用链成员变量构造方法抽象方法
  • 代码随想录刷题day28|(栈与队列篇:栈)232.用栈实现队列
  • pycharm中配置PyQt6详细教程
  • Turborepo 使用配置
  • 深入探讨Web应用开发:从前端到后端的全栈实践
  • LLaMA-Factory|微调大语言模型初探索(4),64G显存微调13b模型
  • 苹果确认iOS 18.4四月初推出:Apple Intelligence将迎来中文支持
  • MFC开发:如何创建第一个MFC应用程序
  • 将 Vue 项目打包后部署到 Spring Boot 项目中的全面指南
  • Python在实际工作中的运用-基础操作
  • 数据库面试知识点总结
  • 口腔应用AI模型推荐
  • 论文略读:Uncovering Hidden Representations in Language Models
  • 使用IDEA提交SpringBoot项目到Gitee上
  • 算法日记25:01背包(DFS->记忆化搜索->倒叙DP->顺序DP->空间优化)
  • 组合优化问题的机器学习研究——以图匹配问题为例
  • 二叉树(中等题)
  • AI赋能传统系统:Spring AI Alibaba如何用大模型重构机票预订系统?
  • 3.3.2 交易体系构建——缠论操作思路
  • Ubuntu 下 nginx-1.24.0 源码分析 - ngx_array_push
  • MySQL后端返回给前端的时间变了(时区问题)
  • 【Qt学习】| 如何使用QVariant存储自定义类型
  • Web Worker终极优化指南:4秒卡顿→0延迟的实战蜕变
  • PTA:有序顺序表的插入
  • SSH无密登录配置
  • 2012年IMO几何预选题第6题