New to metabase. I have a Ubuntu laptop where i a Metbase docker locally and a Mariadb database locally as well. Test purpose.
Metabase installed now and works fine , except I can NOT add a new database as a direct connection (section Next Steps in Admin) ie adding a "mysql" db localhost default port returns this:
"Could not connect to address=(host=localhost)(port=3306)(type=master) : Socket fail to connect to host:localhost, port:3306. Connection refused (Connection refused)"
I am probably nuts but I have not found tips or solutions on the FAQ. I apologise if I missed an explanation somewhere.
Note: this is how I have launched the docker:
docker run -d -p 3000:3000 --name metabase metabase/metabase
Thanks for your help.