Posts Tagged ‘sybase’

Ruby on Rails + Sybase

Friday, July 31st, 2009

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!

Passwords, passwords

Tuesday, June 9th, 2009

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.