[ERROR] Do you already have another mysqld server running on port: 10278 ?"

What issue or error are you experiencing?

I’ve discovered a few months ago “localwpsetup”, so I’m quite new to .
I’ve four site’s local sites defined.
Three of them I can start without issue.
One of them, the most important one, I can’t start anymore.
If I start the site I get the error message:
{“class”:“Process”,“level”:“warn”,“message”:“2025-09-16 21:03:56 0 [ERROR] Do you already have another mysqld server running on port: 10278 ?”,“process”:“mariadb”,“thread”:“main”,“timestamp”:“2025-09-16T19:03:56.821Z”}
{“class”:“Process”,“level”:“warn”,“message”:“2025-09-16 21:03:56 0 [ERROR] Aborting”,“process”:“mariadb”,“thread”:“main”,“timestamp”:“2025-09-16T19:03:56.821Z”}

If I check with “netstat -ano | findstr :10278”, than this port is not in use!!
The starting process “hangs”.
If I start first one of the other local sites than that site starts without issue. Than if I try to start the problem site, than it keeps “hanging”

I’ve removed the pid file under "c:\Users…\AppData\Roaming\Local\run\KwyZcY9v9\mysql\data
I can’t find a “.sock” file.

I’ve add the log file’s and three screenshots.**
*****************************************************************************************************************

I HAVE FOUND IT!!! I will leave everything here above and the screenshots, so if someone else does have the same error message he does have maybe some advantage of this! The file sites.json iss “corrupted”:

***************************************************************************************************************

******************************************************************************

"V90HVdtSz": {
        "id": "V90HVdtSz",
        "name": "orion-volleybal",
        "path": "~\\Local Sites\\orion-volleybal",
        "domain": "orion-volleybal.local",
        "localVersion": "9.2.5+6810",
        "mysql": {
            "database": "local",
            "user": "xxxxx",
            "password": "xxx"
        },
        "environment": "custom",
        "services": {
            "mailpit": {
                "name": "mailpit",
                "version": "1.24.1",
                "type": "lightning",
                "ports": {
                    "WEB": [
                        10278
                    ],
                    "SMTP": [
                        10278
                    ]
                }
            },
            "php": {
                "name": "php",
                "version": "8.3.17",
                "type": "lightning",
                "role": "php",
                "ports": {
                    "cgi": [
                        10278
                    ]
                }
            },
            "mariadb": {
                "name": "mariadb",
                "version": "10.4.32",
                "type": "lightning",
                "role": "db",
                "ports": {
                    "MYSQL": [
                        10278
                    ]
                }
            },
            "nginx": {
                "name": "nginx",
                "version": "1.26.1",
                "type": "lightning",
                "role": "http",
                "ports": {
                    "HTTP": [
                        10011
                    ]
                }
            }
        },


Not only the mariadb has port 10278 but also "WEB, "SMTP". nginx has the right port.

The reason is I suppose that didn’t stop the local setup application but my laptop is switched off due the battery was empty.

But I have still a question: why or how does the “WEB”, “SMTP” gets the same port as the mariadb? I hope that someone can answer this!


What steps can be taken to replicate the issue? Feel free to include screenshots, vide

os, etc


System Details

  • Local Version: “I have the latest version of local”

  • Operating System (OS) and OS version: Windows 10


Local Logs

Attach your Local Logs here (Help Doc - Retrieving Local’s Log)


Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

I’m glad to hear that you were able to get things working again here @nkamp!

But I have still a question: why or how does the “WEB”, “SMTP” gets the same port as the mariadb? I hope that someone can answer this!

Normally, this is something Local would try to resolve automatically, but it’s possible some issue arose due to the sudden loss of power while the sites were still running. Also this is probably a good reminder to always back up your work! You can use a plugin, our Cloud Backups Addon, or just export your sites and save copies to your own external or cloud storage.

I’ve made an export with “export your sites”. But this making a backup of the site under dir “c:\Users|\AppData\Roaming\local\run\”.
But the file “servers.json” is not specific for the site, it is under the local general dir “c:\Users|\AppData\Roaming\local\servers.json”.

So when you make an export you have your zip file backup @nkamp?

Are you saying that it’s missing data somewhere?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.