Skip to content

Instantly share code, notes, and snippets.

@kakari2
Created January 3, 2016 16:40
Show Gist options
  • Select an option

  • Save kakari2/123768797c6acb55460d to your computer and use it in GitHub Desktop.

Select an option

Save kakari2/123768797c6acb55460d to your computer and use it in GitHub Desktop.
作成したユーザーにログインを許可する
TCP/IPでの接続を有効化
SQLSERVER認証を有効化
接続を確認
sqlcmd -S tcp:localhost\SQLEXPRESS,1433 -U REDMINE -P redminepassword
production:
adapter: sqlserver
mode: dblib
dataserver: 127.0.0.1
# dataserver: 127.0.0.1
# host: 127.0.0.1\SQLEXPRESS
# host: 127.0.0.1\SQLExpress
host: 127.0.0.1
port: 1433
database: REDMINE
username: REDMINE
password: redminepassword
timeout: 5000
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:load_default_data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment