java - Liquibase upgrade issue with MySQL -
i having problem in upgrading liquibase. have application jbilling-community-4.1.1.
i want migrate data jbilling-community3.1.0 jbilling-community4.1.1 when run command
grails upgrade-db -user=root -pass=root -db=jbilling_test -dbversion=3.2 -url="jdbc:mysql://localhost:3306/jbilling_test"
it gives error
error executing script upgradedb: : liquibase.exception.lockexception: liquibase.exception.databaseexception: error executing sql create table public.databasechangeloglock (id int not null, locked bit(1) not null, lockgranted datetime null, lockedby varchar(255) null, constraint pk_databasechangeloglock primary key (id)): unknown database 'public' (use --stacktrace see full trace)
upgrade-db
script upgrade database. have upgrade using postgres default database jbilling can run mysql to. getting exception , related liquibase
posting here.
try
grails upgrade-db -user=root -pass=root -db=jbilling_test -dbversion=3.2 -url="jdbc:mysql://localhost:3306/jbilling_test" -schema=jbilling
make sure upgrade 3.0 3.1 , 3.2 , on
Comments
Post a Comment