Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Documentation/database-setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Setup MySql Database inside IntelliJ

## General
- database name = mydatabase
- user = root
- password = root

## How to Create Docker Container
Make sure to have Docker enabled in IntelliJ.

From the Services window (bottom right):
- click "images"
- download image ```eduardvalentindumitrescul/mysql-pixelplay:latest```
- create container from this image
- Modify Options -> Bind Ports -> Press +
![bind ports screenshot](image.png)

## How to Access Mysql
- from container -> terminal
- write ```mysql -p``` (password is ```root```)
- you are inside mysql
Binary file added Documentation/image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.