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

MySql staging problem #3

Open
ghost opened this issue Sep 1, 2016 · 3 comments
Open

MySql staging problem #3

ghost opened this issue Sep 1, 2016 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 1, 2016

I am working through installation on Centos 7 and get a fail on the mysqlstaging. The logs show ...

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 Aug 31 13:29 /tmp/staging.sql
ops-mysqlstaging | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

@ianwdunlop
Copy link
Member

I guess the first thing is to check whether mysql has really started (not sure how on docker though - should be in a log somewhere). Secondly, perhaps there really is no socket at /var/run/mysqld/mysqld.sock. You can check all the available sockets using 'sudo find / -type s'. I think you can run this inside a docker container with 'docker exec -it command'.

@ghost
Copy link
Author

ghost commented Sep 2, 2016

Looks ok. Mysql is up and running in docker and the socket is is in the right place.

I’ll park this for now. I am looking at a different way of doing what I want to do.

Thanks for the help

On 2 Sep 2016, at 09:45, Ian Dunlop [email protected] wrote:

I guess the first thing is to check whether mysql has really started (not sure how on docker though - should be in a log somewhere). Secondly, perhaps there really is no socket at /var/run/mysqld/mysqld.sock. You can check all the available sockets using 'sudo find / -type s'. I think you can run this inside a docker container with 'docker exec -it command'.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #3 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/AOG3hSpWp-lHoiEdhrjuveinabuAOVD2ks5ql-IpgaJpZM4Jysj4.

@bendany
Copy link

bendany commented Oct 10, 2016

Hi Deleahy,

I have the same problem. I can't start mysqlstaging
Could you please tell me how did you do to fix this issue ?
Thank you in advance.

Dany

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