Okay gang, I could use someone to point me in the right direction.
I am running MariahDB. It supports several applications and appears to be running without issue. I created a database named "photoview' db and a user "photouser" with full rights to the database. I log into MariahDB with HeidiDB and everything looks good.
Next, I configured the docker. After compiling successfully, I checked the PHOTO_VIEW_MYSQL_URL. It has the correct IP address/port configuration as shown in the illustrated in the example.
-e 'PHOTOVIEW_MYSQL_URL'='photouser:photopass@tcp(192.168.2.2:3306)/photoview'
When I start the container and look at the logs, I see the following message:
2023/07/24 15:55:53 /app/database/database.go:101
[error] failed to initialize database, got error Error 1045: Access denied for user 'photouser'@'172.17.0.1' (using password: YES)
My question is where does 172.17.0.1 come from? I can't use the docker console for the image, so Im kinda stuck. Any words of wisdom?
Thanks,