Skip to content
#5 in JavaUdemyJavaPaid courseAll Levels

Java Database Connection: JDBC and MySQL (Udemy.com)

Learn how to connect to a MySQL database with Java JDBC

Created by: Chad Darby

Last updated July 2026

Our take

Based on the ratings of 20,714 students and a sample of their written reviews, the syllabus, the course as of July 2026. No course pays to be reviewed.

A free, 90 minute walk through Java's JDBC API against a MySQL database. The syllabus is narrow on purpose: connect, run queries, insert, update and delete, prepared statements, stored procedures with IN, OUT and INOUT parameters, transactions, BLOBs and CLOBs, then reading connection details from a properties file. It's for Java developers who already know the language, have MySQL installed, and just need the database layer explained. It is not a Java course and not a SQL course. The listing says all levels, but the requirements ask for basic Java and basic MySQL.

Reviewers like Chad Darby's teaching: direct, clear, no filler. One reviewer credits the downloadable source code for making the concepts click. With 4.6 stars across roughly 20,700 reviews, the tone is steady approval rather than excitement. The complaints are small but specific. One four-star review wants more hands-on work, coding along rather than watching. Others say the content is thin and skips JDBC architecture, or that a few helper functions appear without being explained. There are no quizzes or coding exercises, so practice is on you. One reviewer coming from PostgreSQL found the MySQL side a little awkward.

For a free course, it's hard to argue with. The listing shows an update in July 2026, so it is still being maintained even though it first went up in 2014. Next to the long Java masterclasses and the SQL bootcamps it sits beside, this is a one-evening supplement, not a competitor. Take it when a project needs Java talking to MySQL and the bigger courses haven't covered it yet, and expect to write your own practice code afterward.

Best forJava developers who know the basics and need the MySQL connection layer explained in one sitting.
Skip it ifYou want hands-on exercises, a deep look at JDBC internals, or you work with PostgreSQL rather than MySQL.

Pros

  • Free, 89 minutes across 25 lectures, so it fits in a single evening
  • Chad Darby's explanations are described as direct and clear, with no padding
  • All source code and database scripts are downloadable, which one reviewer says made the concepts stick
  • Covers stored procedures with IN, OUT and INOUT parameters, transactions, and BLOBs and CLOBs in under 90 minutes

Cons

  • No quizzes or coding exercises; one reviewer wishes there was more code-along practice
  • Short on depth, one review says it skips JDBC architecture
  • Assumes basic Java and MySQL already, and a few helper functions appear without explanation
Really nice course, clear to follow and a lot of useful infomation. However I do wish there was more practial work, like coding along or showing step by step.
Henrik Botnvik-Pettersen, a student

Listed as all levels, but it assumes basic Java and basic MySQL; true beginners to either should start elsewhere first.

icon
What you will learn

  • Connect to a MySQL Database with Java
  • Submit SQL statements to insert, update and delete data
  • Handle SQL parameters with Prepared Statements
  • Calls stored procedures and handle various parameter types (IN, INOUT etc..)
  • Read and write BLOB and CLOB data files
  • Configure your database connection information with properties files

Course content

9 sections · 25 lectures · 1.5 hours of video 3 articles

  1. 1Introduction 1 free preview2 lectures · 2 min
  2. 2Getting Started with JDBC5 lectures · 21 min
  3. 3Performing Basic JDBC Operations6 lectures · 17 min
  4. 4Calling Stored Procedures4 lectures · 16 min
  5. 5Transactions and MetaData3 lectures · 15 min
  6. 6Handling BLOBs and CLOBs2 lectures · 13 min
  7. 7Database Configuration1 lecture · 3 min
  8. 8Summary1 lecture · 1 min
  9. 9Bonus1 lecture · 1 min

Who it is for

The instructor says it suits

  • The course is appropriate for all Java developers: beginners to advanced

What you need before you start

  • Students should have basic knowledge of Java progamming.
  • Students should have basic experience with MySQL

icon
Quality Score

No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.

Content Quality
/
Video Quality
/
Qualified Instructor
/
Course Pace
/
Course Depth & Coverage
/

Overall Score : 92 / 100

icon
Course Description

This course assumes you have some knowledge of databases.

----------

Join 15,000+ highly engaged students


All source code is available for download

Responsive instructor available to answer your questions.

----------

Excellent 5-Star Reviews!

Very well designed course. I like clarity and delivery of contents. I wish there were more courses from Chad !!!!

- Satish Jain

I have to say that I was extremely pleased to note that his lecture material was straightforward and to the point. I was also impressed with how well he structured the contents! His presence was felt as he periodically showed interest in my progress. I would definitely recommend his material to anyone interested in expanding their programming knowledge with additional tools.

- Marc-Alexandru

If you want to learn everything about JDBC - this is the course for you! Excellent content. Brilliant explanation.

- Vishal Kumar

----------

In this course, you learn how to connect to a MySQL database using Java JDBC.

The course starts with an overview of the JDBC API. Then you learn how to set up your development environment with the appropriate MySQL database drivers. Next the course shows you how to submit a SQL query and process the result set. Also, you learn how to perform SQL insert, updates and deletes.

The course moves on to advanced topics such as Prepared Statements to handle SQL paramaters. You also learn how to call stored procedures using various parameter types (IN, INOUT, OUT and ResultSet). Next, the course shows you how to process large data types such as BLOBs and CLOBs. Finally, the course wraps up with a section on reading database connection information from a configuration file.

Who Is This Course Suitable For?

  • Java developers: beginner, intermediate or advanced

Note: This course assumes you have some knowledge of databases.


You Will Learn How To

  • Connect to a MySQL Database with Java
  • Submit SQL statements to insert, update and delete data
  • Handle SQL parameters with Prepared Statements
  • Calls stored procedures and handle various parameter types (IN, INOUT etc..)
  • Read and write BLOB and CLOB data files
  • Configure your database connection information with properties files

Source Code

  • All source code is available for download
  • All database scripts are available for download

Course Requirements

You should have the following software already installed.

  • MySQL Database
  • Java Development Kit

icon
Udemy Discount

The discount is applied through our link. Open the course from here and Udemy's current promotional price is applied at checkout on most courses, no code to type.

Some courses are excluded from Udemy's promotions. If the price does not drop, clear your browser cookies and use the button again.

icon
Instructor Details

Chad Darby

Chád (shod) Darby is an author, instructor and speaker in the Java development world. 

Chád is a contributing author to several Java books, including  Professional Java E-Commerce (Wrox Press), Beginning Java Networking  (Wrox Press), and XML and Web Services Unleashed (Sams Publishing). 

Chád has Java certifications from Oracle and IBM. 

He holds a B.S. in Computer Science from Carnegie Mellon University. 

icon
More courses by Chad Darby

$129.99

$99.99

$139.99

$84.99

$54.99

$99.99

icon
More Java courses

Free

$19.99

$84.99

$64.99

$119.99

$174.99

icon
Reviews

4.6

20,714 ratings on Udemy

Select a bar to show only those reviews.Select the bar again to show every rating.

By Obed Emmanuel Batchu on 9/3/2026

iam learning this course i have gained fundamental knowledge about SQL and database connections and JDBC drivers!

By Atul Nanal on 8/16/2026

Concepts very well explained with examples .

By roshan roshan on 7/29/2026

had a good and Wonderful journey in INFYSPRINGBOARD

By Vasu devarao Gorji on 7/5/2026

It was good experience and highly recommend this channel and easy to understand for me

By Shweta Abhishek Darekar on 1/30/2026

It was really good and tutor was explaining in simple words

By Meghana Illuri on 12/31/2025

yes it is a good course for beginner to advanced.

By Anonymized User on 12/11/2025

Nice but use some predefined function and does not explain how to create it

By Uttam Shukla on 12/8/2025

Course content is less it could have deep understanding of jdbc architecture .

By Hardik Bhagat on 12/8/2025

The tutor had amazing experience in what he is teaching, and the way he teaches just proves it. Loved the course and got to learn efficiently and clearly.

By Ferraccioli Araujo Paulo on 11/5/2025

Ótimo que o instrutor conhece muito bem e ensina de forma direta

Showing all 10 reviews on CourseDuck

Read all 20,714 reviews on Udemy