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.
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.
Listed as all levels, but it assumes basic Java and basic MySQL; true beginners to either should start elsewhere first.
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
- 1Introduction 1 free preview2 lectures · 2 min
- 2Getting Started with JDBC5 lectures · 21 min
- 3Performing Basic JDBC Operations6 lectures · 17 min
- 4Calling Stored Procedures4 lectures · 16 min
- 5Transactions and MetaData3 lectures · 15 min
- 6Handling BLOBs and CLOBs2 lectures · 13 min
- 7Database Configuration1 lecture · 3 min
- 8Summary1 lecture · 1 min
- 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
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 92 / 100
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
Instructor Details
- 4.6 Rating
20,714 Reviews
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.
More courses by Chad Darby
Spring Boot 4, Spring 7 & Hibernate for Beginners (2026)
4.6 (95,333 Reviews)
Provider: Udemy
Time: 35.5h
$129.99
JSP, Servlets and JDBC for Beginners: Build a Database App (2026)
4.6 (12,654 Reviews)
Provider: Udemy
Time: 9.2h
$99.99
Full Stack: Angular and Java Spring Boot E-Commerce Website (2026)
4.6 (11,699 Reviews)
Provider: Udemy
Time: 25.9h
$139.99
Spring Boot Unit Testing with JUnit, Mockito and MockMvc (2026)
4.8 (4,042 Reviews)
Provider: Udemy
Time: 9.9h
$84.99
Hibernate: Advanced Development Techniques (2026)
4.6 (3,652 Reviews)
Provider: Udemy
Time: 3.5h
$54.99
JSF 2.2 - Java Server Faces for Beginners - Build a DB App (2026)
4.6 (3,246 Reviews)
Provider: Udemy
Time: 5.8h
$99.99
More Java courses
Programming Fundamentals in Java for CS Students: Part 1 (2023)
4.9 (38 Reviews)
Provider: Udemy
Time: 5.8h
$19.99
Hibernate and Spring Data JPA: Beginner to Guru (2026)
4.8 (1,265 Reviews)
Provider: Udemy
Time: 30.3h
$84.99
Java 9 New Features In Simple Way : JShell, JPMS and More (2019)
4.8 (912 Reviews)
Provider: Udemy
Time: 33.3h
$64.99
Learn JAVA Programming - Beginner to Master (2026)
4.7 (31,368 Reviews)
Provider: Udemy
Time: 61.4h
$119.99
The Complete Java Certification Course (2025)
4.7 (30,462 Reviews)
Provider: Udemy
Time: 18.1h
$174.99
Reviews
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












