UNIX socket support missing for MySQL
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
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.
When I run occ backup:point:create, this is what I'm getting:
config.php has the DB set up as:
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with config.php and reproduce the occ backup:point:create failure using the reported MySQL setup, then trace how the backup command handles the database host. Done means a MySQL UNIX socket configuration works for backup point creation without the reported connection error, with coverage for that configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, php
- Domain
- cli, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100