Moving Application support data to a different location
Is there a way to move the Application Support/Local/run/ folder to a different location? is currently taking a lot of space from my small hard drive.
What I’ve seen is basically related to mysql DB files so I was wondering if there’s a way to define a different folder to move that.
I already tried creating a symlink but no luck there because I got this error
{“level”:“error”,“message”:“Database did NOT respond to ping after 5 tries on any address.”,“service”:“mysql”,“serviceBinVersion”:“8.0.35”,“stack”:“Error: Command failed: %%userDataPath%%/lightning-services/mysql-8.0.35+4/bin/darwin-arm64/bin/mysqladmin ping\n\u0007mysqladmin: connect to server at ‘localhost’ failed\nerror: ‘Can’t connect to local MySQL server through socket ‘%%site.runData%%/mysql/mysqld.sock’ (2)’\nCheck that mysqld is running and that the socket: ‘%%site.runData%%/mysql/mysqld.sock’ exists!\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at ChildProcess.exithandler (node:child_process:414:12)\n at ChildProcess.emit (node:events:518:28)\n at ChildProcess.emit (node:domain:489:12)\n at maybeClose (node:internal/child_process:1101:16)\n at ChildProcess._handle.onexit (node:internal/child_process:304:5)”,“thread”:“main”,“timestamp”:“2025-07-30T20:31:13.283Z”}
System Details
-
Local Version: Version 9.2.5+6810
-
Operating System (OS) and OS version: Mac OS Sonoma 14.7.6
Local Logs
Local Log
local-lightning.log (7.7 KB)
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.