1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
Some follow-up questions:
- Are you trying to connect to an existing mariaDB instance from a docker is your db running on another docker?
- When you run the
mysql -h (IP for mariadb) -u (user) -p (password) databasename
, is the connection successful or are there any error logs?
回答済み 1年前
- The MariaDB is completely separated from AWS. I am just trying to access it through the AWS Lightsail instance.
- I was able to access it inside docker when I specified --tcp protocol. I am not sure how to achieve the same using docker-compose file. What is the format of it? Thanks