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. Any ideas/ things I can do to make it work?
try a dlib connection
with the activerecord-sqlserver-adapter
gem:
development:
adapter: sqlserver
mode: dblib
database: sqlserverdatabase
host: host
port: port
username: username
password: password
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.