Skip to content

TumiPare/coss221PA04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practical Assignment 4

Installing the database

To install the database to a new system use the following commands in a terminal:

mysql -u root -p -e "create database u21435872_u21452832_sakila";
mysql -u root -p u21435872_upbank < sakila-schema.sql
mysql -u root -p u21435872_upbank < sakila-data.sql

Running the Program

The easiest way to run the program is by using the makefile located at:

./prac04/src/main/java/makefile You can specify paramaters to the program using command line arguments that you can modify in the makefile according too your needs. You can also use the default settings but they may not work. Do not move the makefile. Arguments are:

  • -p --password : specify a password to access the database with
  • -u --username : specify a username to access the database with
  • -d --database : specify a database name to access the database with
  • --port : specify a port to access the database with
  • example: App -p pwd2logo -u daniel -d database --port 3306

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published