Created
April 15, 2010 19:49
-
-
Save javiertoledo/367559 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Connection to SQLServer with activerecord-sqlserver-adapter (2000-2005) locally on Windows | |
development: | |
adapter: sqlserver | |
dsn: Database_DSN | |
mode: odbc | |
username: user | |
password: password | |
encoding: utf8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is now on your database.yml.
development:
adapter: sqlserver
host: localhost
database: rubysqldb
port: 2301
username: rubysqldb
password: password
Make sure to create you database example "rubysqldb" first via SQL Server management Studio with the following access:example my user: rubysqldb has access: Database Role membership: db_owner