Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/borysn/jdbcmysqlsample

Sample application using JDBC MySQL
https://github.com/borysn/jdbcmysqlsample

Last synced: about 1 month ago
JSON representation

Sample application using JDBC MySQL

Awesome Lists containing this project

README

        

# JDBCMySQLSample

Just another weekend project. Play to learn.

## Info:

A sample application using MySQL JDBC.

## Instructions:

**1.** Install and run MySQL Server, or connect to an already established server.

**2.** Create sample mysql DB and table, soemthing like...

```sql
create database summer_plans;
```

```sql
create table plans (
id int not null auto_increment,
name varchar(40) not null,
date date not null,
location varchar(40) not null,
comment varchar(100) not null
primary key (id));
```

**3.** Setup connect info with Client.java.
May want to create a restricted user as well for the above database.

**4.** Run & play.