How to generate a database diagram/ER diagram from Liquibase database changelog.xml files? - relational-database

Is there a tool or a way to generate an ER-diagram or database schema from the changelog.xmls of Liquibase Database?
Using database diagram option with IntelliJ did not generate a diagram (it is a package kind of diagram).

The closest that I have gotten to something like this was to first use the Liquibase update command to populate a MS SQL Server database, and then use the diagramming tools built into SQL Server Management Studio to create a diagram. That won't work for people not on MS SQL, but if you are using that platform that is an option. Other platforms might have similar tooling.
Sounds like a great addition though!

Related

Import MS Access schema to Oracle

I found this guide using Oracle Sql Developer to import MS Access XML schema files to Oracle.
But there have been a lot of changes in Sql Developer since the guide was written.
Does anyone know if it's still possible to migrate MS Access to Oracle using latest Sql Developer tools?
No, we no longer support Access 'migrations' to Oracle in the current code base.
Java deprecated the odbc-jdbc bridge, and we were relying on that for Access connections.
You would need an old copy of SQL Developer (v3.1) to use this feature.
Now, if you have a SQL Server instance handy, you could move it over there, and then use SQL Developer to migrate the data to Oracle.
If it's a simple db, you could offload the tables to flat files (CSV), and use SQL Developer to create the tables from that.

Can I transform a EER Diagram in MySQL into a Microsoft Access Database?

I have made a EER Diagram in MySQL Workbench 6.2, Simply used this as it's a nice free tool. The database will be (and sadly has to be) a Microsoft Access Database.
Is there a way I can send this EER to MS Access so it makes all of my tables, datatypes and relationships automatically?
I know there is a forward engineer tool but this is seemingly for sending to an existing SQL database on a server.
The generated EER diagram is a complete own format. MS Access wouldn't know how to handle that. What you could do is to export the model to an SQL file and use some tool that can import MySQL SQL code into MS Access (though I know none as I never had the need).

Convert Azure SQL to MySQL

I'm a fairly new developer working on a database for a university research project. I created the database in Microsoft Access then used the SSMA Access to SQL migration tool to export it to Azure SQL. I'm now building a Ruby on Rails implementation of the databases front end on a Debian VPS and would like to migrate the Azure SQL database to MySQL for testing purposes with a view to eventually converting all of the database front ends to connect to the MySQL database.
I've been able to find plenty of articles discussing moving MySQL to Azure SQL but very little which details the process in reverse. Any and all help would be appreciated!
Thanks,
Mike
Mysql allows you to import full database dumps (table definitions and content) as long as they are in sql format, in a text file.
As long as you manage to generate a dump of your database as a text file of sql statements you should be ok.
The only thing is azure may not give you the chance to generate that dump.
But you'll probably have third party tools that will allow you to.
If not, since you initially built you database in access you will for certain find free tools to do a access to mysql migrations. (a quick google search shows me bullzip and mdbtools as two free tools that do just that.)
Once you have your sql dump file just import it into mysql from the command line or using the source command in the mysql client.
Wouldn't it be better to write code that is database agnostic. That is your code shouldn't care what database you are using

Open source tool for MS SQL to SQL data migration (different schemas)

I am working on a project to migrate databases from MS-SQL Server to MySQL and looking for open-source libraries or tools that would make my job easier, provided that the source and destination DBs wouldn't be the same. (The migration is not just a replication as it involves different schemas for both the source and destination databases.) I searched for the available tools and found these:
jTDS
Microsoft JDBC 4.0
MDB tools (Migrate MS Access to MySQL)
I am planning to run a batch job and use jTDS library to read the data from MS-SQL Server and then dumping them in MySQL. Is this the best way to go about it? It would be helpful if one could direct me towards a good tool and the good way to handle this.
I have had extremely good experiences with the SQL Server Migration Assistant for MySQL, this was going from MySQL to SQL Server.
http://www.microsoft.com/en-us/download/details.aspx?id=28764
But for MySQL I believe the URL you want is:
http://www.mysql.com/why-mysql/white-papers/guide-to-migrating-from-sql-server-to-mysql/

I need to convert my Mysql database to SQL Server 2005 database

I need to convert my Mysql database to SQL Server 2005 database, Is there any tools available for this conversion.
I will suggest a generic, standards-based, platform-independent approach, applicable to any two databases. Taken streight from an answer to another question, you can use any of the following tools:
SQL Workbench, using the WbCopy command
an ETL tool, like Pentaho Data Integration
DDLUtils
All of these will allow you to tweak the migration process to some degree (e.g. batch size).