I am trying to set up roundhouse deployment scripts. I am running into a little trouble with remote logins. We need to login with an sql account (not machine or domain - this is against MSSQL 2008R2 on Server 2008 R2 SP1) when creating the database on remote servers. Is there any way to provide different credentials for roundhouse to connect and run scripts as, I am not seeing it in the documentation? Thanks.

有帮助吗?

解决方案

If you specify the connection string instead of the server name and db name, you can then set the credentials as well.

From: https://github.com/chucknorris/roundhouse/wiki/ConfigurationOptions

There is the --connectionstring (or -c for short):

-c, --cs, --connstring, --connectionstring=VALUE
ConnectionString - As an alternative to ServerName and Database - You can provide an entire connection string instead.

So you could do something like this:

-c=server=localhost;uid=SomeUser;pwd=Secret;database=MyDB;
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top