Closed GregoryCARON closed 1 year ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Can you try with a fresh (empty) appdata folder?
You could just edit the container and set your appdata folder to /mnt/user/appdata/mariadb.fresh
Host networking is causing that issue. you either have another mariadb container using that port or something else.
--net='host'
2023-09-02 15:53:22 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 98: Address in use
Can you try with a fresh (empty) appdata folder? You could just edit the container and set your appdata folder to
/mnt/user/appdata/mariadb.fresh
I also deleted the container AND the folder in order to start from scratch, same thing.
Host networking is causing that issue. you either have another mariadb container using that port or something else.
--net='host'
2023-09-02 15:53:22 0 [ERROR] Can't start server: Bind on TCP/IP port. Got error: 98: Address in use
Absolutely no services use the port. I even stopped all my other containers / VMs etc to make sure and the port is still faulty.
Stop using host networking for a container that doesn't need it.
Also, that error isn't going to show for no reason. There will be something running on that port if it can't bind to it.
When I use my Docker or Bridge network, I have this:
docker: Error response from daemon: driver failed programming external connectivity on endpoint mariadb (b05b61aa4efcf9c947aa5b0538dda7e3c4abeb85f29925f27c70cb50753da537): Error starting userland proxy: listen tcp4 0.0.0.0:3306: bind: address already in use.
Clearly something is using that port on your host.
Absolutely no services use the port
Show us. Don't make us take your word for it.
Alternatively, you can map a different port for mariadb, or you can simply not even map a port and access the container port through the docker network.
In any case, this is a user issue and not a bug. Closing this.
If you need further help, you can use our other support channels such as discord or discourse.
Bug or not, stop the Docker service and re-start it to correct this ... bug?
Finally, it's resolved and it wasn't a user configuration problem!
Is there an existing issue for this?
Current Behavior
In log :
in /config/databases/unraid.err :
port 3306 is NOT used
Expected Behavior
No response
Steps To Reproduce
1 - Create container 2 - Run
Environment
CPU architecture
x86-64
Docker creation
Container logs