Youtube video tutorial:
#STEPS:
Connect to MySQL Database(I use Xampp)
Go to : https://dev.mysql.com/downloads/connector/j/8.0.html
Select Platform Independet, Download the zip file
Add the file to your library in Intelli J;
File >> Project Structure
Select the (+) add the jar file from into your library from your Downloads folder
Open MySQL: create a database and table
Click the add(+)name SQL connection: work
File > New Model
Database name:GroceryList; table name: list
Click Database >> forward engineer
Go back into IntelliJ
Write code