I was having trouble with the docker MySQL connection for the Web API.
This link
solved it for me, which has now been put into the Dockerfile.
The following line was added:
create user busapi;
grant all privileges on busdb.* to "busapi"@"%";
alter user "busapi"@"%" identified by "bus";
flush privileges;