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
相關內容
- 已提問 10 個月前
- AWS 官方已更新 3 年前