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
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 2 年前