w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How to copy structure of database in newly created database in MySQL through java code?

Hard way: you can create a bash script to export old data and generate the new one based on your exported data and then, let java execute it for you

Better way: Use liquibase to migrate your database. You can export your data into Xml file and then, again use Liquibase API to import the data from Xml file to your new database

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.