Make a Database using Netbeans(Java)


  • Open Netbeans and go to 'Servise' tab
  • Write click on 'Java DB' and select 'Create Database...'
  • It will ask few things, fill them. Do not change the Database Location
  • Press ok
  • If you got error message like this, Write click on Java DB and click 'Start Server'
  • Now Your Database is created
  • You can see your Database like this
  • Now we have to make a table
  • Extract the database and write click on 'Table',and click 'Ctreate Table'
  • Give a table name
  • Right side you can see 'Add column' button. By clicking this button you can add a column.
  • In here I added 3 colums
  • Now your database is created

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. I am happy to see your post.. it is very informative and helpful to student's.. Java training in delhi, Java certification training delhi.. Thanks for sharing this nice post..

    ReplyDelete
    Replies
    1. i want your help.....how can i fetch data from mysql database to jtable..
      i had try to use rs2xml.jar... but the problem is my net bean does not show any cmd like DbUtil..

      Delete