# Unable to start site due to some issue with mysql

**URL:** <https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068>\
**Category:** Support\
**Tags:** mysqld, linux-manjaro\
**Created:** [January 27, 2024, 11:20pm UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068 "2024-01-27T23:20:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin47](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@justin47](https://community.localwp.com/u/justin47)\
**Post date:** [January 27, 2024, 11:20pm UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068/1 "2024-01-27T23:20:50Z")

</div>

Hi, I am encountering an issue with LocalWP on Manjaro Linux . When attempting to create a new site, the process gets stuck at the ‘provisioning site’ step for approximately 15 minutes and eventually results in an error. The specific error message indicates that the database did not respond to ping after 15 tries.

 ![error](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/9/0/9032ef91bc3c479c57a3d4f5da826dfc2a25f1a9.png)

```auto

28/1/2024, 1:57:16 am [error] [main] undefined: Database did NOT respond to ping after 15 tries. -- {"service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/linux/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 ChildProcess.exithandler (node:child_process:430:12)\n at ChildProcess.emit (node:events:513:28)\n at maybeClose (node:internal/child_process:1091:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)"}
28/1/2024, 1:57:16 am [error] [main] SiteProcessManagerService: Unable to start site. -- {"stack":"Error: Command failed: %%userDataPath%%/lightning-services/mysql-8.0.16+6/bin/linux/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 ChildProcess.exithandler (node:child_process:430:12)\n at ChildProcess.emit (node:events:513:28)\n at maybeClose (node:internal/child_process:1091:16)\n at ChildProcess._handle.onexit (node:internal/child_process:302:5)"}

```

based on this i can understand that localwp tried to ping mysql db several times but ended up with no response. But i checked it out, mysql works normally for me , yet it didnt give response to the application. I spent hours searching for a way to fix my problem, but i didnt come up with a solution. It would be really great if you could help me out

### System Details

- **Local Version:**  
Local v 8.2.0

- **Operating System (OS) and OS version:**  
Linux Manjaro (latest)

* * *

### Local Logs

[local-lightning.log](https://community.localwp.com/uploads/short-url/oP2fRDsbq3pBZ63e9yQ0w6M2IQm.log) (216.1 KB)  
[local-lightning-verbose.log](https://community.localwp.com/uploads/short-url/y3at1b49Rrno2tYS4NOsH9i6GCW.log) (326.5 KB)

---

<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 30, 2024, 5:58pm UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068/2 "2024-01-30T17:58:10Z")

</div>

Hi @justin47

Is this your first time using Local or did this work previously and then ran into problems after an update?

---

<div class="post-metadata">

**Author:** ![justin47](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@justin47](https://community.localwp.com/u/justin47)\
**Post date:** [January 31, 2024, 5:17am UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068/3 "2024-01-31T05:17:43Z")

</div>

This is my first time

---

<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 31, 2024, 3:19pm UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068/4 "2024-01-31T15:19:53Z")

</div>

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

Do you have any antivirus, security, or firewall applications that could be blocking Local?

---

<div class="post-metadata">

**Author:** ![justin47](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@justin47](https://community.localwp.com/u/justin47)\
**Post date:** [February 1, 2024, 6:04pm UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068/5 "2024-02-01T18:04:08Z")

</div>

Mmm, yeah , i had been running other projects which required sql. temporarily shutting them or using an older sql version worked out for me

later following the following post helped me get my project working

so, if anyone else seems to get the site not found error in linux, try the method from the following post [Can’t view local sites in browser: “localhost refused to connect” in Linux Manjaro](https://community.localwp.com/t/can-t-view-local-sites-in-browser-localhost-refused-to-connect-in-linux-manjaro/37984)

@Nick-B , thank you so much for your time 😄

---

<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:** [February 1, 2024, 6:44pm UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068/6 "2024-02-01T18:44:11Z")

</div>

Glad to hear it @justin47! Thank you for letting us know 💚

---

<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:** [February 3, 2024, 6:44am UTC](https://community.localwp.com/t/unable-to-start-site-due-to-some-issue-with-mysql/41068/7 "2024-02-03T06:44:54Z")

</div>

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