Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/borysn/jdbcmysqlsample
- Owner: borysn
- Created: 2013-06-01T00:20:43.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-02-26T23:43:55.000Z (almost 9 years ago)
- Last Synced: 2024-10-15T07:53:23.922Z (3 months ago)
- Language: Java
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.