简体   繁体   English

如何将Ruby连接到SQL Server Management Studio?

[英]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.

相关问题 在 SQL Management Studio 中打开 a.sql 脚本后如何连接到服务器 - how to connect to a server after opening a .sql script in SQL Management Studio SQL Server Management Studio无法连接 - SQL Server Management Studio can not connect 无法使用Management Studio连接到本地SQL Server - Cannot connect to local SQL Server with Management Studio 无法连接到 SQL Server Management Studio 中的 Azure - Cannot connect to Azure in SQL Server Management Studio SQL Server Management Studio将无法连接到Sql Server - SQL Server Management Studio won't connect to Sql Server 如何在SQL Management Studio 2008中进行连接 - How to connect in sql management studio 2008 如何将SQL Server Management Studio中的数据库连接到Visual Studio中的Windows窗体应用程序? - How to connect a database in SQL Server Management Studio to a Windows Form Application in Visual Studio? 无法连接到服务器-SQL Server 2014 Management Studio - Cannot connect to server - SQL Server 2014 Management Studio 打开 SQL Server Management Studio 并从 PowerShell 连接到服务器 - Open SQL Server Management Studio and Connect to Server from PowerShell SQL Server Management Studio 2012连接到Azure SQL - SQL Server Management Studio 2012 connect to Azure SQL
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM