mysql --host localhost --port 3306 --user root secure_pg_db
. Default location of the executable is: "C:\Program Files (x86)\MySQL\MySQL Server 5.7\bin\mysql.exe". If necessary, modify the address/port or the username and provide the password with the parameter -p
before the string "secure_pg_db". By default MySQL root user has no password.CREATE USER 'SPGU'@'localhost' IDENTIFIED BY 'PWD123';
- Should reply: Query OK, 0 rows affected (0.00 sec)GRANT ALL PRIVILEGES ON secure_pg_db.* TO 'SPGU'@'localhost' WITH GRANT OPTION;
- Should reply: Query OK, 0 rows affected (0.00 sec)quit
, then mysql --host localhost --port 3306 --user SPGU -p secure_pg_db
and finally show tables;
Alternatively, use MySQL Workbench
The following steps assist the developer in downloading the SecurePG code from GitLab (link here) using GIT (Windows version here) and importing it as a Gradle Project in Eclipse.
git config --global user.name 'Name Surname'
git config --global user.email mail@mail.com
git config --list
cd
into the directory to use as the Git repository (e.g C:\GIT)git init
git remote set-url origin git@gitlab.fbk.eu:st/all-projects/SecurePG.git https://gitlab.fbk.eu/st/all-projects/SecurePG.git
git clone git@gitlab.fbk.eu:st/SecurePG.git
from the Git directory; provide the password set within FBK GitLab.build
${workspace_loc:/SecurePG}