[Resolved]NextCloudPi docker on openmediavault mysqld(mariadb) problem

Hello,
I have a problem if someone have any idea to solve it, it will be nice ^^
I’m trying to install nextcloudpi on openmediavault using docker.
I have change the port to be fine with OMV
I have this error on the container initialisation : mysqladmin: connect to server at ‘localhost’ failed
error: ‘Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2 “No such file or directory”)’
Check that mysqld is running and that the socket: ‘/var/run/mysqld/mysqld.sock’ exists!
I think i must change the localhost with the RaspberryPi ip adress but i’m not sure.
Any idea ?

Thanks :slight_smile:

Hi,
I have written few lines on omv forum last December about ncp on omv through docker, did you read them?

Yes. Better the ip address of your MySQL server. If that’s a container it’s the container name instead of localhost.

thanks for your response :slight_smile:
I have found the problem, it’s linked to another mariadb container i used it’s create a conflict, so i have delete it and restart the docker deamon and it’s working now :wink:
thanks again ^^