Sha256: 51d69b4bca4206061e58098e0ccec8c44c532c7893a93dd7ad8fbae58ea50f63
Contents?: true
Size: 1.52 KB
Versions: 30
Compression:
Stored size: 1.52 KB
Contents
# SQL Server (2005 or higher recommended) # # Install the adapters and driver # gem install tiny_tds # gem install activerecord-sqlserver-adapter # # Ensure the activerecord adapter and db driver gems are defined in your Gemfile # gem 'tiny_tds' # gem 'activerecord-sqlserver-adapter' # # You should make sure freetds is configured correctly first. # freetds.conf contains host/port/protocol_versions settings. # http://freetds.schemamania.org/userguide/freetdsconf.htm # # A typical Microsoft server # [mssql] # host = mssqlserver.yourdomain.com # port = 1433 # tds version = 7.1 # If you can connect with "tsql -S servername", your basic FreeTDS installation is working. # 'man tsql' for more info # Set timeout to a larger number if valid queries against a live db fail development: adapter: sqlserver encoding: utf8 reconnect: false database: <%= app_name %>_development username: <%= app_name %> password: timeout: 25 dataserver: from_freetds.conf # Warning: The database defined as "test" will be erased and # re-generated from your development database when you run "rake". # Do not set this db to the same as development or production. test: adapter: sqlserver encoding: utf8 reconnect: false database: <%= app_name %>_test username: <%= app_name %> password: timeout: 25 dataserver: from_freetds.conf production: adapter: sqlserver encoding: utf8 reconnect: false database: <%= app_name %>_production username: <%= app_name %> password: timeout: 25 dataserver: from_freetds.conf
Version data entries
30 entries across 30 versions & 2 rubygems