Hi, I have a problem connecting my MySql database with Dremio. Both programs are running as Docker containers and are on the same network. For this I used the following YAML file:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
#test\docker-compose.yml
version: ‘3’
services:
mysql:
image: mysql
ports:
- "3306:3306"
- "33060:33060"
environment:
MYSQL_ROOT_PASSWORD: admin
restart: always
dremio_:
image: dremio/dremio-oss
ports:
- "9047:9047"
- "31010:31010"
- "45678:45678"
links:
- mysql:mysql
restart: always
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Inside the Dremio container the ping command works on mysql. But I can’t connect to the database on the web interface. It always shows the following error:
I am glad about any help!
Best regards