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

Setting up MYSQL Metadata database - Unable connect to local MySQL server through socket #146

Open
sfpacman opened this issue Oct 14, 2021 · 1 comment

Comments

@sfpacman
Copy link

I follow the instruction to set up MYSQL by running the run_mysql_server_singularity.sh, but I keep getting this error.

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
All done. You can ignore any error messages occurred when creating a user (ERROR 1007).

I think it has something to do with that - I tried to set the file permission manually but it doesn't seem to do anything.

2021-10-14T22:24:35.676812Z 0 [Note] Execution of init_file '/home/dummy/.mysqlrootpw' started.
2021-10-14T22:24:35.676842Z 0 [ERROR] mysqld: File '/home/dummy/.mysqlrootpw' not found (Errcode: 13 - Permission denied)
2021-10-14T22:24:35.676847Z 0 [ERROR] Aborting
@leepc12
Copy link
Contributor

leepc12 commented Oct 21, 2021

It's hard to debug. Can you try with the docker version instead?

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