0
我是python和SolidDB的新手。我想寻求关于我得到的错误的帮助。虽然凭证是正确的(我认为),但我仍然被服务器拒绝。这是堆栈跟踪。Pyodbc错误:08004 - 服务器拒绝连接
[[email protected] standalone]# python
Python 2.7.8 (default, Oct 28 2014, 03:45:51)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyodbc
>>> cnxn = pyodbc.connect('DRIVER=SolidDB;SERVER=tcp 1964;DATABASE=dba;PWD=password')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
pyodbc.Error: ('08004', '[08004] [unixODBC]Server rejected the connection (14505) (SQLDriverConnect)')