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

UNIX socket support missing for MySQL #612

Open
SK-Crow opened this issue Jan 22, 2024 · 4 comments · May be fixed by #672
Open

UNIX socket support missing for MySQL #612

SK-Crow opened this issue Jan 22, 2024 · 4 comments · May be fixed by #672

Comments

@SK-Crow
Copy link

SK-Crow commented Jan 22, 2024

Running Nextcloud 28.0.1 on a TrueNAS Core jail. Installed using freenas-iocage-nextcloud script.

I have configured external storage to another nextcloud instance, and app data is on default.
image
image

When I run occ backup:point:create, this is what I'm getting:

image

config.php has the DB set up as:
image
image

I read through a handful of other issues here, and people mentioned fixing the issue by setting the db host from 127.0.0.1 to localhost (among the solutions). I don't really see how it would be applicable to my situation.

Has anyone with my setup found a solution?

@jackywu
Copy link

jackywu commented May 13, 2024

I run into the same error, any progress ?

@SK-Crow
Copy link
Author

SK-Crow commented May 13, 2024

I run into the same error, any progress ?

No luck. It appears this plugin isn't designed for the way that my Nextcloud instance is installed, or I'm a moron and am missing something obvious. Good chance of both 😄

@jackywu
Copy link

jackywu commented May 14, 2024

I installed nextcloud by snap on ubuntu OS. the error seems this script can not connect to the MySQL. and I can't figure out what's the address of MySQL the script was connecting to.

@jackywu jackywu linked a pull request May 14, 2024 that will close this issue
@jackywu
Copy link

jackywu commented May 14, 2024

I run into the same error, any progress ?

No luck. It appears this plugin isn't designed for the way that my Nextcloud instance is installed, or I'm a moron and am missing something obvious. Good chance of both 😄

I fix this issue by #672 , you can try.

@joshtrichards joshtrichards changed the title Connection to mysql failed with message: sqlstate[hy000] [2002] No such file or directory UNIX socket support missing for MySQL Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants