Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/linux/28.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux Pyodbc连接错误编码名称太长_Linux_Postgresql_Debian_Odbc_Pyodbc - Fatal编程技术网

Linux Pyodbc连接错误编码名称太长

Linux Pyodbc连接错误编码名称太长,linux,postgresql,debian,odbc,pyodbc,Linux,Postgresql,Debian,Odbc,Pyodbc,我使用pyodbc通过ssh连接连接到postgresql服务器,ssh连接运行良好,但当我尝试连接到bd时,它会返回一个奇怪的错误: 编码名称太长 我不知道该怎么办 Conn string - SERVER=127.0.0.1;DATABASE=xxxxx_core_xxx;UID=xxxxty;PWD=##@@$;PORT=12345;DRIVER={DRIVER_Postgresql}; odbc.ini [DRIVER_Postgresql] Driver=/usr/lib/x86_6

我使用pyodbc通过ssh连接连接到postgresql服务器,ssh连接运行良好,但当我尝试连接到bd时,它会返回一个奇怪的错误: 编码名称太长 我不知道该怎么办

Conn string - SERVER=127.0.0.1;DATABASE=xxxxx_core_xxx;UID=xxxxty;PWD=##@@$;PORT=12345;DRIVER={DRIVER_Postgresql};
odbc.ini

[DRIVER_Postgresql]
Driver=/usr/lib/x86_64-linux-gnu/odbc/psqlodbcw.so
odbcinst.ini