我正在使用 Ubuntu,我正在尝试使用 ODBC 驱动程序将 php 连接到雪花,我在/etc/odbcinst.ini
. 这是我正在使用的驱动程序信息
[ODBC Drivers]
SnowflakeDSIIDriver=Installed
[SnowflakeDSIIDriver]
APILevel=1
ConnectFunctions=YYY
Description=Snowflake DSII
Driver=path-to-"libSnowflake.so"
DriverODBCVer=03.52
SQLLevel=1
ErrorMessagesPath=path-to-folder-which-has-error-message-xml-files
我收到错误两个错误
错误1 SFRestRequestFailed could not be found in the en-US locale. Check that /en-US/SFMessages.xml exists
:。
错误2 REST request to the Snowflake is failing(I got this error by checking corresponding message attached to 'SFRestRequestFailed' in SFMessages.xml)
:。
但我可以在 Windows 中使用相同的访问详细信息连接 Snowflake 并获取数据。
请分享您的想法以解决此问题。
谢谢