我是 python 和 SolidDB 的新手。我想就我遇到的错误寻求帮助。尽管凭据是正确的(我认为),但我仍然被服务器拒绝。这是堆栈跟踪。
[root@DW700 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)')