- Login to https://amme.metropolia.fi/mysql with your metropolia account
- Set password for your database. Don't use the same password as your Oma account's password because the database password will be written in plain text to configuration files.
- Login to https://users.metropolia.fi/phpMyAdmin/ with your Oma username and database password (the one you did in amme.metrpolia.fi/mysql)
- Use vpn
- this is not possible when using Zoom
- Use ssh tunnel
- Open terminal or powershell
- run
ssh -Ngf -L XXXX:mysql.metropolia.fi:3306 [email protected]
- replace XXXX with 3306
- if 3306 is not available on your system use some other port
- replace
username
with your Oma username
- replace XXXX with 3306
- you will be prompted for shell.metropolia.fi password (Oma password)
- Use this repo as an example