ODBC Packages, Dependent Libraries, and Header Files
Obtaining the Driver Package
Download the driver package and its verification package listed in Table 1.
- Verifying the software package integrity on a Linux server:
- Upload the software package and verification package to the same directory on the VM.
- Run the following command to verify the integrity of the software package:
cat GaussDB_driver.zip.sha256 | sha256sum --check
If OK is displayed in the command output, the verification is successful.
GaussDB_driver.zip: OK
- Verifying the software package integrity on a Windows server:
- Press Win+R to open the Run dialog box. Type cmd in the text box and press Enter to open the Command Prompt window.
- Run the following command to obtain the hash value of the driver package:
certutil -hashfile {local_directory_of_the_driver_package}\{driver_package_name} sha256
- Replace {local_directory_of_the_driver_package} with the actual download path, for example, C:\Users.
- Replace {driver_package_name} with the name of the downloaded driver package, for example, GaussDB_driver.zip.
Example: certutil -hashfile C:\Users\GaussDB_driver.zip sha256
- Compare the hash value obtained in 2 with the hash value of the verification package obtained in Table 1.
ODBC Packages for the Linux OS
Obtain the ODBC package GaussDB-Kernel_VxxxRxxxCxx-xxxxx-64bit-Odbc.tar.gz from the driver package. In the Linux OS, unixODBC header files (including sql.h and sqlext.h) and the library libodbc.so are required in application development. These header files and library can be obtained from the unixODBC-2.3.7 installation package.
ODBC Packages for the Windows OS
Obtain the ODBC package GaussDB-Kernel_VxxxRxxxCxx-Windows-Odbc-X86.tar.gz from the driver package. In the Windows OS, the required header files and library files are system-resident.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot