unable to establish database connection
3 次查看(过去 30 天)
显示 更早的评论
Hi I am using matlab 2011 64 bit on my win7 64 pc using office 2010 32 bit version. I try to connect to a access tutorial data base. I used odbc data source administration to add a data base source. I create a connection to this database using the database command. When I try the ping command to test the connection it tells me that " ??? Error using ==> database.ping at 153 Invalid connection. "
Note: win 7 64 has two odbs administrator 32 bit(C:\Windows\SysWOW64\odbcad32.exe) and 64 bit(%windir%\system32\odbcad32.exe) I used the 32 since the 64 are missing the required odbc drivers.
2 个评论
Chirag Gupta
2011-6-3
I am pretty sure Access does not provide JDBC drivers! You have to use 32 bit Matlab to talk to 32 bit ODBC admin
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!