

Now what I’ll do is I’ll add a new Java Class. For the project name, I’ll give it jdbcdemo, I’ll click Finish. Make sure the Java application is selected and click next. I’ll go to the File menu, I’ll select new Project. Now I’ll create a simple NetBeans project.


See that we have a table called Employees and then we’ll do a select star from that table and we’ll see that we have three employees currently in our database. Let’s look at our database and see what data we have. The first thing we’ll do is review the database tables, then we’ll download and add MySQL database driver to NetBeans, then we’ll actually create the Java code. In this video, you will learn how to connect to MySQL with Java and NetBeans. Please subscribe to this channel 🙂 Download Java Source Code In this video you will learn how to connect to MySQL with Java and NetBeans. Last Updated on Tuesday, 10 February 2015 Written by Chad Darby Sunday, 31 August 2014
