Error creating new site

Error trying to create a new site.


After entering the site name, this error appears.


System Details

  • Local Version: 10.1.1+6939

  • Operating System (OS) and OS version: MacOs Air M2 + Tahoe 26.5.2


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.

Do you have other sites working in Local @pabloaduquec or was this your first attempt? Just checking to see if things have otherwise been working.

Have you tried any troubleshooting yet such as rebooting your device?

Can you share your Local Log with us? Retrieving Local’s Log File

Hi, thanks for your time.

I’m a student and this is my first time using LocalWP. The installation went well, but when I try to create a new site, I get that error.

local-lightning-verbose1.log (1.0 MB)

local-lightning.log (648.8 KB)

local-lightning-verbose.log (283.4 KB)

The error I’m seeing in your log is mentioning that The socket file path is too long @pabloaduquec.

MySQL has a limit on the length of the socket path. It looks like your path is too long due to the combined length of the drive name, your username, and Local’s path (106 characters total).

As a workaround, you could try renaming your Ext Macintosh HD drive to something at least 3 characters shorter via Disk Utility, if that’s possible for you. Alternatively, you could create a new admin user with fewer characters and try Local in that account.