Hello, members of the forum.
I study java, decided to take up the database. I developed a theory, climbed the net and realized that I was at a dead end ... If anyone had free time, he would be very grateful for the help in solving the following questions.
- How to prepare for work environment development environment Eclipse. I downloaded the mysql-5.5.21-win32 server and the mysql-connector-java-5.1.18 driver, but I don’t understand what to do with them further.
- All Internet resources describe how to log into the database and send requests to it. But I do not understand how (with the help of which code and libraries) you can create databases and tables in them, or how you can make it so that the program can add new tables of a certain structure to the database.
- You can make it so that transferring the folder with the program (where the database driver and server will also be) on the Windows OS (with the java-machine installed) is enough for the program and database to function correctly, in other words, the user has a minimum of settings - reset flash drive and enjoy.
If someone has a free minute - I will be very grateful.