mysql - Liquibase refuses to create a database that doesn't exist -


i'm trying run

liquibase update 

on database doesn't exist yet. expect create database me (i'm running root, shouldn't problem), instead i'm getting:

/vagrant/liquibase$ ./liquibase update liquibase home not set. liquibase home: /vagrant/liquibase liquibase update failed: com.mysql.jdbc.exceptions.jdbc4.mysqlsyntaxerrorexception: unknown database 'test_project' 

connection url parameters rescue again!

url: jdbc:mysql://localhost/dev_project?allowmultiqueries=true&createdatabaseifnotexist=true 

the createdatabaseifnotexist=true part did trick


Comments

Popular posts from this blog

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -