试图将Python连接到PYODBC访问数据库,不确定要使用什么驱动程序
我正在尝试使用PYODBC连接到访问数据库,但我不确定要使用哪个驱动程序。 代码,
pyodbc.drivers()
运行我得到的
['SQL Server', 'PostgreSQL ANSI(x64)', 'PostgreSQL Unicode(x64)']
我想我想拥有类似的东西
['Microsoft Access Driver (*.mdb, *.accdb)']
,但是即使我只是重新安装了Microsoft的驱动程序,也没有列出。 lidess.aspx?id = 13255“ rel =“ nofollow noreferrer”>在这里。
因此,我可以使用现有驱动程序之一(尝试时似乎并非如此),还是可以让PyodBC找到正确的驱动程序?
I am trying to connect to an access database using pyodbc, but I am unsure which driver to use. Running the code
pyodbc.drivers()
I get
['SQL Server', 'PostgreSQL ANSI(x64)', 'PostgreSQL Unicode(x64)']
I figure I would want to have something like
['Microsoft Access Driver (*.mdb, *.accdb)']
But it is not listed even though I just reinstalled the driver from microsoft found here.
So can I use one of the existing drivers (it does not appear to be the case when I try) or can I somehow let pyodbc find the correct driver ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论