LocalWP works perfectly on my first Windows account, but fails on a second administrator account with Error
System Details
-
Local Version: latest
-
Operating System (OS) and OS version: Windows 11
Local Logs
Attach your Local Logs here (Help Doc - Retrieving Local’s Log)
Hi everyone.
I’m trying to use LocalWP on a second Windows user account, but I’m running into a strange issue.
My setup is:
Windows 11
Two local administrator accounts
First account: LocalWP has been working perfectly for a long time.
Second account: newly created, also an administrator.
On the second account I installed the latest version of LocalWP from the official website.
The installation completes successfully, but I cannot create any site.
Even creating a brand new blank WordPress site fails.
I also exported one of my existing sites from the first account and tried importing it into the second account, but the same error occurs.
The error I get is:
Can’t create directory …\mysql\data
OS errno 2: No such file or directory
I checked the installation folders and found that:
lightning-services exists.
The mysql folder exists.
Inside mysql I only have folders like bin, lib, modules, share/json, etc.
There is no data folder, and LocalWP seems unable to create it.
What I’ve already tried:
Completely uninstalling and reinstalling LocalWP.
Installing as Administrator.
Installing the latest version from the official website.
Creating a completely new blank site.
Importing an exported site from my working account.
Running everything from a second local administrator account.
The strange part is that everything continues to work perfectly on the first Windows account. The issue only exists on the second account.
Has anyone experienced this before, or knows what could prevent LocalWP from creating the MySQL data directory only on a second Windows user profile?
Thanks