iceman2894 iceman2894 - 1 month ago 6
Java Question

Converting a MySQL database to SQLite single file in java

I have MySQL installed, but It takes more than 1 GB of C drive. However the database file is only some KB's. I want to help to transfer the database file into single file that is in the Java program data folder. Also i want to know how to change the connection to be that file instead of using JDBC?

Thank you.




So a fast edit after long time ago

Answer

What I needed was mySQLite, it's saved on the device as a single file and easily managed through java.