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
Post a Comment