I have a java project and placed sql file(backup) in this project.
how to Restore this file inside library to mysql with java(Restore of jar file)?
I have a java project and placed sql file(backup) in this project. how to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Is this against a remote server? If you are not opposed to combining Java with the MySQL command line client then you can just do:
If you want it all native Java then you’ll end up needing to parse your sql backup and execute the queries through JDBC.