title: How to pass command line parameter to liquibase.properties file
body: <p>I have a file <strong>liquibase.properties</strong> with below contents</p>
  
  <pre><code>driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
  classpath: ./sqljdbc4-2.0.jar
  url: jdbc:sqlserver://localhost:1433;databaseName=staticDB
  username: sa
  password: admin@123
  changeLogFile: myChangeLog.xml
  </code></pre>
  
  <p>I am using the command liquibase update and by this the database changes are getting deployed on staticDB database</p>
  
  <p>I want to pass a dynamic database name along with the liquibase update command so that I can deploy the database changes on multiple database </p>
  
  <p>I have change the <code>url:</code> in properties file like below </p>
  
  <pre><code>url: jdbc:sqlserver://localhost:1433;databaseName=${database}
  </code></pre>
  
  <p>I have tried using command like </p>
  
  <pre><code>liquibase update -Ddatabase="Liquibase_Param"
  </code></pre>
  
  <p>But I am not able to execute the liquibase command correctly as I am getting below error</p>
  
  <pre><code>Unexpected error running Liquibase: com.microsoft.sqlserver.jdbc.SQLServerException: The connection string contains a badly formed name or value.
  </code></pre>
  
  <p><strong>Please let me know How can I pass dynamic database name while running liquibase update command</strong></p>