当前位置:网站首页>Opengauss database ODBC environment connection configuration (Windows)

Opengauss database ODBC environment connection configuration (Windows)

2022-06-11 15:50:00 Gauss squirrel Club

Catalog

Experimental environment

Operation steps

1. Download the client and install it

 2. Open the driver manager

3. Configure data sources

4. Validate and save settings


Windows The operating system comes with ODBC Data source Manager , You do not need to install the manager manually to configure it directly .

Experimental environment

ECS(openEuler ARM)+openGauss

Operation steps

1. download Client and install

download client GaussDB(for openGauss) Driver and install

Download address :https://dbs-download.obs.cn-north-1.myhuaweicloud.com/rds/GaussDB_opengauss_client_tools.zip

In the local ( for example D:/download) download ZIP Decompress the file , The extracted file is as follows .

Because this experiment openGauss Installed in the ECS(openEuler ARM) On , So to enter Euler2.8_arm_64 Folder , It is shown as follows :

  decompression GaussDB-Kernel-V500R001C10-Windows-Odbc.tar.gz file , It is shown as follows :

  Click on psqlodbc_x86.msi Installation

 2. Open the driver manager

When configuring the data source , Please use the corresponding driver manager ( Assume that the operating system installation drive letter is C disc , If it is another drive letter , Please modify the path accordingly ):

64 Bit operating system 64 Bit program development , install 64 After bit driver , Use 64 Bit driver manager :C:\Windows\System32\odbcad32.exe perhaps Use it directly “ Control panel > Management tools > ODBC data source (64 position ).

​​​​​​​3. Configure data sources

On the open drive manager , choice “ user DSN > add to > PostgreSQL Unicode(x64)”, Then configure :

 

 

Data Source:openGauss ( Data source name , You can customize ).

Database:db_tpcc ( Need to connect Datebase name ).

Server:openGauss The public network of the database server IP, Please fill in according to the actual situation .

Pot:26000 ( Port number ).

User Name:joe ( User name to connect to the database , Out of commission omm user , You need to create... In the database )

Password:dbuser User's password , Please fill in according to the actual situation .

4. Validate and save settings

Click on Test, Show  Connection successful Indicates the setting is successful :

  Click save :

 

  Configuration is successful .

原网站

版权声明
本文为[Gauss squirrel Club]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206111535102260.html