当前位置:网站首页>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 表示设置成功:

点击保存:


配置成功。
边栏推荐
- Why can redis be so fast?
- Simple C language address book
- Tangzhengrong: CTO is the intersection of business thinking and technical thinking
- 如何做好自媒体?这几个步骤你做对了吗?
- Google Earth engine (GEE) - create a simple panel demo to display the map
- 数据分析系统的设计与实现
- The server prevents repeated payment of orders
- [process blocks and methods of SystemVerilog] ~ domain, always process block, initial process block, function, task, life cycle
- Database optimization
- File is in use and cannot be renamed solution
猜你喜欢

Tencent interviewers share their interview experience, how to evaluate the interviewers' technical and personal comprehensive quality, and give you some suggestions on the interview

每日一博 - 微服务权限一二事

高数_第6章无穷级数__马克劳林级数

企业开发如何写出优雅的二级分类【美团小案例】

2022 Tibet's latest eight major construction personnel (labor workers) simulation test question bank and answers

Find combination number (function)

Is it possible to use multiple indexes together in a query?

C language simple webserver

03 _ 事务隔离:为什么你改了我还看不见?

Arthas practice documentation
随机推荐
Don't you understand the design and principle of thread pool? Break it up and crush it. I'll teach you how to design the thread pool
Hebei huangjinzhai scenic spot adds "AED automatic defibrillator" to ensure the life safety of tourists!
The most egregious error set of tone codes
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
High number_ Chapter 6 infinite series__ Marklaurin series
从0到1稳稳掌握大厂主流技术,年后涨薪不是必须的吗?
Arthas practice documentation
[creation mode] builder mode
06 _ Global lock and table lock: Why are there so many obstacles to adding a field to a table?
Implementation of the function of recording login status
Dynamically set the layoutinflater of the layout
【创建型模式】单例模式
基于 GateWay 和 Nacos 实现微服务架构灰度发布方案
19. insertion, deletion and pruning of binary search tree
Shuttle -- hero component
In June, 2019, cat teacher's report on monitoring
【MongoDB】4. Usage specification of mongodb
LoveLive! Published an AI paper: generating models to write music scores automatically
Summary of redis basic knowledge
Mysql database optimization details