Caveat: This adapter may only work with the enterprise edition of Sybase (i.e. Sybase ASE) not with SQLAnywhere (Sybase ASA)

gem install activerecord-sybase-adapter -s http://gems.rubyonrails.org

ActiveRecord::Base.establish_connection(
:adapter => “sybase”,
:database => “test”,
:host => “www.yourdbserver.com”,
:username => “kevin”,
:password => “test”)

Play!

 

Default passwords for MSSQL, Sybase, and mySQL:
, , ,
That’s right.. All three have blank root / sa passwords by default. Talk about secure! That’s the kind of knowledge that can come in handy.

© 2011 Seven steps Suffusion theme by Sayontan Sinha