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.
The only thing I’m seeing in the Local log is that MySQL error you mention:
{"thread":"main","level":"error","stack":"Error: Access denied.\n at TLSSocket.<anonymous> (%%appPath%%\\node_modules\\@getflywheel\\localtunnel\\lib\\TunnelConnectionCluster.js:59:28)\n at Object.onceWrapper (events.js:422:26)\n at TLSSocket.emit (events.js:327:22)\n at TLSSocket.EventEmitter.emit (domain.js:467:12)\n at addChunk (internal/streams/readable.js:309:12)\n at readableAddChunk (internal/streams/readable.js:284:9)\n at TLSSocket.Readable.push (internal/streams/readable.js:223:10)\n at TLSWrap.onStreamRead (internal/stream_base_commons.js:188:23)","message":"Access denied.","timestamp":"2021-09-09T15:44:11.105Z"}
An error of “Access denied” usually something was preventing Local from finishing the setup of the site.
Since this is Windows, do you have any antivirus software running that would prevent Local from creating new sites?
You also mention that two sites were created – maybe restarting the computer and restoring the first site to a new one would get it working?
You can use a backup of the site, or try using the files for the site by following the steps outlined in the “Restoring From Only Local Site files” section of this help doc:
Yes, I do have Norton antivirus set up. I may have Windows firewall too. Does the install produce a log? If so where would it be, I could check it to see if anything went wrong with the install.
The log in that will not work is the WP Admin to change the site, so I need to get it to work. It is quite possible that antivirus software or Windwows firewall could prevent the WP Admin log in… So I may try to turn the av and firewall off to check.
BTW, I think we can quietly forget about the 404 error. I think it is probably caused by the fact the site has no pages, so the server would not find a home/index page, would it?
I have just taken another long look at the Lightning Log. The Access denied messages may not be relevant relevant. There are far too few of them. Only 4 when I have had dozens of log in fails for the Admin Account.
The Lightning Log shows quite a few MySQL warnings referring to a crash, then killing processes and then recovering at times when I have tried to log in to the Admin account.
That specific 404 has the Local branding which tells me that the Local Router doesn’t know where to find the WordPress site.
You can think of the Local router as the thing that translates the Local site’s domain into the specific port:
example.local --> localhost:10015
Because Local’s router doesn’t know about that site, it makes me think that the site never fully finished being created and so wasn’t correctly registered. Usually, I associate that with some kind of antivirus that’s preventing that last step, but I suppose it could be other things too.
There’s no install-specific log, any events related to installing would show up in the Local log that you’ve found.