MyEclipse and MySQL Exercises

Source: Internet
Author: User

For the use of MyEclipse and MySQL I am still blind, these days have been studying how to use between the two, now the only certainty, to let them practice, you must first create a database

Now, I do two exercises, one is a new database in MySQL, shown in MyEclipse, a new database in MyEclipse, displayed in MySQL.

First, create the BOOKDB database in MySQL, and then build the books table, as follows

Then add the driver to the myeclipse, connect MySQL,

Display its established database in MyEclipse, find Test1, find the established database BOOKDB, click Open, there will be a table, click Open Table, is the data sheet we created

Below, we continue to create additional tables under the BOOKDB

Writer

Here is actually just a simple conversion between them. The following will be connected to it, according to the data, to build a class, write the following information, this is for the books table:

After this, a lot of information on the internet has been broken, so I still continue to research, this homework to the end of it

Database Connection Reference:

Http://www.cnblogs.com/yidong/archive/2009/04/02/1427893.html

Http://www.cnblogs.com/loudyten/archive/2012/09/25/2701649.html

Http://www.cnblogs.com/hongten/archive/2011/03/29/1998311.html

MyEclipse and MySQL Exercises

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.