Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with mysqlstaging #4

Open
bendany opened this issue Oct 11, 2016 · 1 comment
Open

Issue with mysqlstaging #4

bendany opened this issue Oct 11, 2016 · 1 comment

Comments

@bendany
Copy link

bendany commented Oct 11, 2016

Hi,

I'm a new with openphacts and docker technologies. I work on Centos 7.
I have an issue when I tried to start the mysqlstaging container:

[root@co-tou-sop01 ops-docker-master]# docker-compose logs mysqlstaging
Attaching to ops-mysqlstaging
ops-mysqlstaging | Preparing to stage ims
ops-mysqlstaging | Waiting for mySQL (up to 30 seconds)
ops-mysqlstaging | mySQL staging
ops-mysqlstaging | -rw-r--r--. 1 root root 963M Oct 11 13:45 /tmp/staging.sql
ops-mysqlstaging | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

When I installed, I had this Warning message :

WARNING: Image for service virtuosostaging was built because it did not already exist. To rebuild this image you must use docker-compose build or docker-compose up --build.

Do you think it's linked ?

Thank you in advance.
Dany

@stain
Copy link
Contributor

stain commented Dec 7, 2016

Issue #3 is probably linked. Did something change in the mysql image from upstream so the paths are wrong? It should not connect through a socket, but through the virtual mysql hostname which would then be linked to the ops-mysql container.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants