Docker image for CollectiveAccess and MySQL

I'm trying to install CA in Docker Desktop for Windows and image I'm using needs some SQL to be installed separately. I installed MySQL but having trouble connecting CA with MySQL database.

Does anybody here did that to give me some pointers.

The error I'm getting while trying to run CA image is:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have to point out that MySQL is up and running, if I type in terminal mysql -h 127.0.0.1 -P 3306 -u root -p it asks me my password, when I type it in, I log in MySQL.

Where can I configure CA container to point to MySQL and to enter password?

tnx

Sign In or Register to comment.