# Can Rails be run against SQL Server 2008 from Linux/Mac?

**URL:** <https://www.ruby-forum.com/t/can-rails-be-run-against-sql-server-2008-from-linux-mac/140848>\
**Category:** Rails\
**Created:** [June 19, 2008, 6:11am UTC](https://www.ruby-forum.com/t/can-rails-be-run-against-sql-server-2008-from-linux-mac/140848 "2008-06-19T06:11:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [June 19, 2008, 6:11am UTC](https://www.ruby-forum.com/t/can-rails-be-run-against-sql-server-2008-from-linux-mac/140848/1 "2008-06-19T06:11:37Z")

</div>

Is anyone successfully running Rails against SQL Server 2008 from either  
a Linux or a Mac?

I have been able to run my Rails apps. against SQL Server 2000 using the  
standard freetds/unixodbc/ruby-dbi/ruby-odbc combination.

But it appears that perhaps freetds cannot be used to hit SQL Server  
2008? I’m not sure - I’ve only googled for about 15 minutes or so.

So, can anyone say definitively whether or not SQL Server 2008 is a  
valid DB target for Rails?

Thanks,  
Wes

---

<div class="post-metadata">

**Author:** ![weyus](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/7ab992/32.png) [@weyus](https://www.ruby-forum.com/u/weyus)\
**Post date:** [June 19, 2008, 7:04am UTC](https://www.ruby-forum.com/t/can-rails-be-run-against-sql-server-2008-from-linux-mac/140848/2 "2008-06-19T07:04:26Z")

</div>

Sorry to bother everyone with this.

The problem turned out to be a password issue after a migration from SQL  
Server 2000 to SQL Server 2008.

FWIW, I’m successfully hitting SQL Server 2008 using:

Mandriva Linux v. 10.x w/freetds 0.63 and unixODBC 2.2.12

Wes
