当前位置:网站首页>openGauss数据库ODBC环境连接配置(Windows)
openGauss数据库ODBC环境连接配置(Windows)
2022-06-11 15:36:00 【Gauss松鼠会】
目录
Windows操作系统自带ODBC数据源管理器,无需用户手动安装管理器便可直接进行配置。
实验环境
ECS(openEuler ARM)+openGauss
操作步骤
1.下载客户端并进行安装
下载客户端GaussDB(for openGauss)驱动程序并进行安装:
下载地址:https://dbs-download.obs.cn-north-1.myhuaweicloud.com/rds/GaussDB_opengauss_client_tools.zip
在本地(例如D:/download)下载ZIP文件后进行解压缩,解压缩后文件如下。

由于本实验openGauss安装在ECS(openEuler ARM)上,所以进入Euler2.8_arm_64文件夹,显示如下:

解压缩GaussDB-Kernel-V500R001C10-Windows-Odbc.tar.gz文件,显示如下:

点击psqlodbc_x86.msi进行安装:

2.打开驱动管理器
在配置数据源时,请使用对应的驱动管理器(假设操作系统安装盘符为C盘,如果是其他盘符,请对路径做相应修改):
64位操作系统上进行64位程序开发,安装64位驱动程序后,使用64位的驱动管理器:C:\Windows\System32\odbcad32.exe 或者直接使用“控制面板 > 管理工具 > ODBC 数据源(64 位)。

3.配置数据源
在打开的驱动管理器上,选择“用户DSN > 添加 > PostgreSQL Unicode(x64)”,然后进行配置:



Data Source:openGauss (数据源名称,可以自定义)。
Database:db_tpcc (需要连接的Datebase名称)。
Server:openGauss数据库服务器的公网IP,请根据实际情况填写。
Pot:26000 (端口号)。
User Name:joe (连接数据库的用户名,不能使用omm用户,需要在数据库中创建)
Password:dbuser用户的密码,请根据实际情况填写。
4. 验证并保存设置
点击Test,显示 Connection successful 表示设置成功:

点击保存:


配置成功。
边栏推荐
- [multi thread performance tuning] what operations cause context switching?
- A brief talk on the feelings after working at home | community essay solicitation
- Illustration of tiger international quarterly report: revenue of USD 52.63 million continued to be internationalized
- 英伟达终于开源GPU内核模块代码,网友:难以置信
- The research results of Professor xuweixin from the school of atmosphere of Sun Yat sen University on extreme precipitation caused by weak convection were reported by science highlights
- How to batch insert 100000 pieces of data
- Simple C language address book
- 每日一博 - 微服务权限一二事
- IDEA2021.1版本安装教程
- Intercept string (function)
猜你喜欢
[mysql_11] addition, deletion and modification of data processing

Arthas practice documentation

03 _ Transaction isolation: why can't I see it after you change it?

简单的C语言版本通讯录

07 _ Functions and disadvantages of row lock: how to reduce the impact of row lock on performance?

数据分析系统的设计与实现

Uniapp develops wechat applet from build to launch

leetcode 120. Triangle minimum path sum

02 _ 日志系统:一条SQL更新语句是如何执行的?

PHP Apache built-in stress testing tool AB (APACHE bench)
随机推荐
What is excess product power? Find the secret key of the second generation cs75plus in the year of the tiger
19. insertion, deletion and pruning of binary search tree
【创建型模式】原型模式
In depth interpretation: distributed system resilience architecture ballast openchaos
Shutter-- page Jump animation
做自媒体剪辑真的能挣钱吗?
Mysql database optimization details
Learn more about and use ThreadLocal
Charles automatically saves response data
浅析分布式系统之体系结构-事务与隔离级别(多对象、多操作)下篇
See from the minute, carve on the details: Exploration of SVG generated vector format website icon (favicon)
Find combination number (function)
ASEMI的MOS管24N50参数,24N50封装,24N50尺寸
对于事务的认识
Devil cold rice # 037 devil shares the ways to become a big enterprise; Female anchor reward routine; Self discipline means freedom; Interpretation of simple interest and compound interest
简单的C语言版本通讯录
[系统安全] 四十二.Powershell恶意代码检测系列 (4)论文总结及抽象语法树(AST)提取
Implementation of the function of recording login status
Hard core analysis lazy single case
Cisco Rui submitted the registration of sci tech Innovation Board: proposed to raise 600million yuan, with annual revenue of 222million yuan