Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

UNIX socket support missing for MySQL

Open
#612 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
mysql, php
Domain
cli, databases

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.

Description

3. to review bug

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?

Dominant language
PHP
Stars
272
Forks
37
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nextcloud/backup

All issues in nextcloud/backup

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.