My bad,.. I must have incorrectly specified the database host during the install. My .env file said the DB_HOST=127.0.0.1
and I needed to set it to DB_HOST=mysql
I might mention that I am running on Docker containers using Laradock.
With that change, I am now successfully connecting.
About roles, if you have not changed anything in configs then Standart permission structure applied.
Which means that User specific permissions take over Role permissions, so make sure that User has no specific permissions for module-1, module-3 (Inherit).
Then make sure that role1 and role2 permissions do not contradict each other.