Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A Play Framework 2 example app

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 conf
Octocat-spinner-32 project
Octocat-spinner-32 public
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

Finances

Play Framework 2.x sample app to support a series of Play tutorial blog posts.

MySQL Setup

Before using MySQL as the database for the Finances app, we first need to create the finances user and database:

First, connect as root:

mysql --user=root --password=YOURPASSWORD mysql

Second, create the finances user:

CREATE USER finances @'%' IDENTIFIED BY 'finances';

Lastly, create the poweredman database and grant privileges to the poweredman user:

CREATE DATABASE finances;

GRANT ALL ON finances.* TO 'finances' @'%'  IDENTIFIED BY 'finances';
GRANT ALL ON finances.* TO 'finances' @'localhost'  IDENTIFIED BY 'finances';

FLUSH PRIVILEGES;

Test

mysql --user=finances --password=finances finances
Something went wrong with that request. Please try again.