Skip to content

A quick start repo for using mysql in java against a local database hosted in docker.

License

foopis23/java-mysql-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Database Template

This is a simple java project for setting up a connection to a database. It uses Maven to manage dependencies and docker to run the database.

Quick Start

Start Database

To start the database, run the following command in the project root directory:

docker-compose up

Connection String: mysql://localhost:3306
Username: root
Password: example

Database Connector

The MySQL JDBC driver is included in the project. Most IDEs will automatically download the dependency for you. If not, view Maven in 5 minutes and the pom.xml file of this project.

About

A quick start repo for using mysql in java against a local database hosted in docker.

Topics

Resources

License

Stars

Watchers

Forks

Languages