[英]How to connect Ruby to SQL Server Management Studio?
I've been trying to connect my Ruby on Rails web app to my SQL Server database, I've looked everywhere on the internet especially Stack Overflow and can't seem to get it to work, even tried odbc. 我一直在尝试将Ruby on Rails Web应用程序连接到我的SQL Server数据库,我在Internet上到处都看过,尤其是Stack Overflow,似乎无法正常工作,甚至尝试过odbc。 Any ideas/ things I can do to make it work? 我有什么想法/事情可以使它起作用?
try a dlib connection
with the activerecord-sqlserver-adapter
gem: 尝试使用activerecord-sqlserver-adapter
gem进行dlib connection
:
development:
adapter: sqlserver
mode: dblib
database: sqlserverdatabase
host: host
port: port
username: username
password: password
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.