Liquibase + MySQL + Foreign Keys to different database
MySQL has a lovely feature with foreign keys. In particular one can have a foreign key reference a table in a DIFFERENT database. Apparently liquibase PUKES on this. consider the following simple...
View ArticleRe : Liquibase + MySQL + Foreign Keys to different database
Liquibase is really designed to only work with a single schema at a time. If you are working with complex multi-schema databases (or, as MySQL calls them, multiple databases) then you should probably...
View ArticleRe : Liquibase + MySQL + Foreign Keys to different database
I do tend to see generateChangeLog as a way to bootstrap using liquibase, but not the primary workflow and so there does tend to be more edge-case issues like handling cross-database foreign keys in...
View ArticleRe : Liquibase + MySQL + Foreign Keys to different database
Well Nathan...YOU DA' MAN!I suspect you didn't exactly mean the --schemas option - I couldn't find such an option. However, there is the --defaultSchemaName option which DOES solve the problem.I'm...
View ArticleCommunications link failure The last packet sent successfully to the server...
This is a weird error that I am seeing while running a liquibase script. It seems to happen intermittently but can't get rid of it.I realized that I was able to get around it by making sure that no...
View ArticleLiquibase vs SQLPLUS for SPOOL output.
Hello,I am currently migrate from oracle sqlplus standard usage to liquibase. But during this migration, my '.sql' file have some declaration off spool file and liquibase don't like them:I did a simple...
View Articleliquibase creates index then fails cause index exists
I am wrong a Long liquibase script. when it runs the changeSet to create an index, it does so, then it complains that the index exists, and failsThe changeset is simple: <changeSet author="ethomps2...
View ArticleRe : Liquibase + MySQL + Foreign Keys to different database
Alas, my zeal was underserved :(. Yes - it didn't crash - and yes it generated a valid XML file. Alas, the schema it generated the XML file was for the database referenced in the --defaultSchemaName...
View ArticleRe : Liquibase + MySQL + Foreign Keys to different database
I did find the --schemas option which you referenced in your original response. There is such an option. However, its usage is only valid on a diff - not a generateJim
View Articlecvc-complex-type.2.3: Element 'createTable' cannot have character [children]
Hi, I am trying to get started with liquibase and generated a change log from an existing database and tried to apply this changelog into an empty schema. but it fails with this error.Not sure where to...
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
Can you attach the changelog (/home/local/CAREZEN/rreddy/liquibase/careuat14.changelog.xml) you are working with?Steve DoniePrincipal Software EngineerDatical, Inc. http://www.datical.com/
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
Hi Steve, Attaching the changelog here...
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
I took a look and didn't see any obvious errors. I have seen this sort of error when the file is not saved with UTF-8 encoding, but the file I extracted did seem to have UTF-8 encoding. You might be...
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
Thanks Steve, I see more information when running with DEBUG option..Unexpected error running Liquibase: cvc-complex-type.2.3: Element 'createTable' cannot have character [children], because the type's...
View ArticleBug fix for CORE-2944
Hello,I have reported a bug for handling outputDefaultSchema (https://liquibase.jira.com/browse/CORE-2944) and a fix for it (https://github.com/liquibase/liquibase/pull/629).Is there any chance to get...
View ArticleRe : Bug fix for CORE-2944
Nathan is currently on vacation and will return Monday January 30th. I'll ask him to take a look at these when he returns. I realize that these have been open a while. Everyone who works on and uses...
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
Steve, I am stuck trying to figure out what could be wrong with this line, actually that line doesn't correspond to the exact line number within the file...Caused by: org.xml.sax.SAXParseException;...
View ArticleRe : cvc-complex-type.2.3: Element 'createTable' cannot have character...
Good morning, I was experiencing this issue also with the dbchangelog-3.5.xsd using generated xml from liquibase. I downloaded the xsd and validated it against the file (tfs adding ti to the xml...
View Article