how to backup mysql database using java and store backup file into my current directory of source code.

Recommended Answers

All 5 Replies

how exactly do you want it backed up?

by using mysql dump command in java source code.

never done that before, but I'm pretty sure there are sites and tutorials enough that can help you with that.

if you're just going to use dump, you should run a google query on 'java mysql dump' or something similar, or you could create your own library that does just that.

no i don't want to just dump, but dump file should store in my current java source directory.

Anyway! Thanks for reply.

You can try this but I wouldn't do it like that

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.