https://github.com/catrinlam/database-client-server
Java (IntelliJ IDEA)
https://github.com/catrinlam/database-client-server
Last synced: about 1 year ago
JSON representation
Java (IntelliJ IDEA)
- Host: GitHub
- URL: https://github.com/catrinlam/database-client-server
- Owner: catrinlam
- Created: 2022-05-09T14:11:49.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-13T16:45:41.000Z (about 4 years ago)
- Last Synced: 2025-02-14T05:34:45.866Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Database Client-Server
Java (IntelliJ IDEA)
May 2022
- Assess JDBC and Java Networks skills
- Implement a Multi Client–Server application using the TCP protocol
- Server replies with the number of albums for that particular artist, until the user types ‘stop'
- The SQL query is an inner join executed on the database
---
For this project, use the ’Music’ database
Import `music_create.sql` first and then import `music_data.sql`
`\i '/your_path/music_create.sql'`
`\i '/your_path/music_data.sql'`
Once imported the tables, you can list them by performing the
following command in PostgreSQL:
`\dt`
---
To kill a port, click stop 'server' in compiler or run `fuser -k 8080/tcp` (replace 8080 with your port number) in the terminal
Use `fuser 8080/tcp` to check if the port is running in your computer.