# Error installing

**URL:** <https://community.localwp.com/t/error-installing/40788>\
**Category:** Support\
**Created:** [January 10, 2024, 5:39am UTC](https://community.localwp.com/t/error-installing/40788 "2024-01-10T05:39:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://community.localwp.com/u/denise)\
**Post date:** [January 10, 2024, 5:39am UTC](https://community.localwp.com/t/error-installing/40788/1 "2024-01-10T05:39:54Z")

</div>

### What issue or error are you experiencing?

Hi there,

I’m new here and have been trying to create a new site however keep running into the same error despite having reinstalled.  
I get hit with an error message that says "could not create new wp-config.php’ file.

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/2/7/27113fd6bb2e2d42c0e73383ddbad883d7dc0919.png)

* * *

### System Details

- **Local Version:**

- **Operating System (OS) and OS version:**

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/))

[local-logs.zip](https://community.localwp.com/uploads/short-url/mnQIBrNUGpSaGu957QIF4PuHi7M.zip) (32.4 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.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 10, 2024, 2:21pm UTC](https://community.localwp.com/t/error-installing/40788/2 "2024-01-10T14:21:08Z")

</div>

Hi @denise

Do you have any antivirus, security, or firewall applications that could be blocking Local? It looks like from the log it might be having trouble connecting.

More details about troubleshooting this here: [Router Mode](https://localwp.com/help-docs/advanced/router-mode/)

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

---

<div class="post-metadata">

**Author:** ![afragen](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/afragen/32/31_2.png) [@afragen](https://community.localwp.com/u/afragen)\
**Post date:** [January 11, 2024, 4:21pm UTC](https://community.localwp.com/t/error-installing/40788/3 "2024-01-11T16:21:54Z")

</div>

It looks like there may be a special character in the username. Try creating a user without any special characters.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [January 11, 2024, 4:37pm UTC](https://community.localwp.com/t/error-installing/40788/4 "2024-01-11T16:37:24Z")

</div>

Ah right that old classic. Thanks @afragen!

> [@Special characters not supported on Windows username/password](https://community.localwp.com/t/unable-to-provision-site-due-to-special-characters-in-windows-username/14419):
>
> Moderator Note: Known Bug Summary Thank you everyone who has chimed in and helps clarify this issue! The general problem is that when a Windows Username includes special characters (so an apostrophe ' or a non-ASCII character like é) it can break the commands Local uses to communicate with the MySQL database. Usernames that have an apostrophe in them should be fixed, so update to the most recent version of Local if the username has an apostrophe in it. Read on for what you can do if the userna…

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [April 10, 2024, 4:37pm UTC](https://community.localwp.com/t/error-installing/40788/5 "2024-04-10T16:37:48Z")

</div>

Closed on April 10, 2024, 4:37pm UTC

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