What do you mean "save it's structure"? You want a bunch of DDL statements to recreate the schema elsewhere?
posted 5 months ago
I donot know I got task to download exported database and its structure. I did table in MySql workbench. I read about exporting and if I undenstand correctly it is .sql file, yes? About structure I still donot know anything
Well, if you do not know what you have to do, it's difficult to help you do it. Downloading the data to a csv is pretty easy. But the structure requirement should be clarified. This may not even be a JDBC question, because it can be done with command line tools.