Mysql Liquibase拒绝创建没有';不存在
我想跑Mysql Liquibase拒绝创建没有';不存在,mysql,liquibase,Mysql,Liquibase,我想跑 liquibase update 在一个还不存在的数据库上。我希望它能为我创建数据库(我是用root运行的,所以应该不会有问题),但我得到的是: /vagrant/liquibase$ ./liquibase update Liquibase Home is not set. Liquibase Home: /vagrant/liquibase Liquibase update Failed: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErr
liquibase update
在一个还不存在的数据库上。我希望它能为我创建数据库(我是用root运行的,所以应该不会有问题),但我得到的是:
/vagrant/liquibase$ ./liquibase update
Liquibase Home is not set.
Liquibase Home: /vagrant/liquibase
Liquibase update Failed: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'test_project'
再次将url参数连接到rescue
url: jdbc:mysql://localhost/dev_project?allowMultiQueries=true&createDatabaseIfNotExist=true
createDatabaseIfNotExist=true
部分完成了这个技巧url的来源是什么?