The short story, is I'm all set for now.
----------------------
The long story is:
1.)
The username/password that I found in sys.properties, does work now.
I did 2 things majorly wrong:
2.)
I incorrectly edited the volume entries on the `docker run` command:
-v /path/to/mysql:/var/lib/mysql \
-v /path/to/database:/home/bee016guest/Edge/database \
-v /path/to/EDGE_output:/home/bee016guest/Edge/EDGE_output \
-v /path/to/EDGE_input:/home/bee016guest/Edge/EDGE_input \
-v /path/to/EDGE_report:/home/bee016guest/Edge/EDGE_report \
I thought I was supposed to edit the right hand side of the colon. That was wrong.
So then I did it correctly as follows, by editing the value on the left side of the colon:
-v /home/bee016guest/Edge/mysql:/var/lib/mysql \
-v /home/bee016guest/Edge/database:/home/edge/database \
-v /home/bee016guest/Edge/EDGE_output:/home/edge/EDGE_output \
-v /home/bee016guest/Edge/EDGE_input:/home/edge/EDGE_input \
-v /home/bee016guest/Edge/EDGE_report:/home/edge/EDGE_report \
3.)
Next problem is that the mysql (MariaDB) was not starting up cause of file ownership/permissions problems:
$ sudo docker exec edge systemctl status mariadb.service
... mariadb.service failed.
Which led me to do this:
$ sudo docker exec -it edge /bin/bash
# tail /var/log/mariadb/mariadb.log
where I saw:
190116 16:10:11 [Warning] Can't create test file /var/lib/mysql/d329d854093d.lower-test
...
190116 16:10:11 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'open'.
I then observed the ID value in /etc/passwd and /etc/group for the "mysql" user/group.
On my host machine, I physically added this line to /etc/passwd:
mysql:x:27:27:MariaDB Server:/var/lib/mysql:/sbin/nologin
I could not add this line to /etc/group:
mysql:x:27:
As "27" was already used.
Then I changed the owner, but not the group, to all the files belonging to mysql on my host machine:
$ sudo chown -R mysql: /home/bee016guest/Edge/mysql
I then stopped, destroyed and re-created the Docker container:
$ sudo docker stop edge
$ sudo docker rm edge
$ sudo docer run ...
All is well... now to start using Edge,....
P.S.: Instead of editing the /etc/passwd and /etc/group files and doing a `chown`, I suppose I could have instead
just changed the permissions by doing:
$ sudo chmod -R 777 /home/bee016guest/Edge/mysql