# Unable to start site - MySQL Error

**URL:** <https://community.localwp.com/t/unable-to-start-site-mysql-error/47145>\
**Category:** Support\
**Tags:** windows-10\
**Created:** [February 20, 2025, 6:23am UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145 "2025-02-20T06:23:43Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Faysal\_Shipu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@Faysal\_Shipu](https://community.localwp.com/u/Faysal_Shipu)\
**Post date:** [February 20, 2025, 6:23am UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/1 "2025-02-20T06:23:43Z")

</div>

### What issue or error are you experiencing?

I am experiencing an issue with **Local by Flywheel** where MySQL fails to start, preventing me from accessing my local WordPress site. The error message states:

**“Uh-oh! Unable to start site. Lost connection to MySQL server at ‘reading initial communication packet’, system error: 0.”**

Additionally:

- Reinstalling Local **did not fix** the problem.
- No WordPress version is displayed in Local.

* * *

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

 ![Screenshot (605)](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/6/3/630b30d29064039292481af6199ac56c442c65d7.png)

* * *

### System Details

- **Local Version:**

- 9.2.2

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

- windows 10 Home single Language 64 bit (10.0,Build 19045)

* * *

### Local Logs

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

* * *

```auto
{"class":"addIpcAsyncListener","level":"warn","message":"Duplicate callback appears to be getting added to getWordpressTranslations","stringifiedCallback":"() => __awaiter(this, void 0, void 0, function* () { return this.getWordpressTranslations(); })","thread":"main","timestamp":"2025-02-20T05:56:34.907Z"}
{"class":"addIpcAsyncListener","level":"warn","message":"Duplicate callback appears to be getting added to connectManifestWpeService:create","stringifiedCallback":"(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain) => this.create(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain)","thread":"main","timestamp":"2025-02-20T05:56:34.925Z"}
{"level":"warn","linuxEdition":null,"localVersion":"9.2.2+6771","message":"Electron Event ready","osArch":"x64","osPlatform":"win32","osRelease":"10.0.19045","timestamp":"2025-02-20T05:56:50.089Z","windowsEdition":"Microsoft Windows 10 Home Single Language"}
{"class":"addIpcAsyncListener","level":"warn","message":"Duplicate callback appears to be getting added to getWordpressTranslations","stringifiedCallback":"() => __awaiter(this, void 0, void 0, function* () { return this.getWordpressTranslations(); })","thread":"main","timestamp":"2025-02-20T05:56:49.288Z"}
{"class":"addIpcAsyncListener","level":"warn","message":"Duplicate callback appears to be getting added to connectManifestWpeService:create","stringifiedCallback":"(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain) => this.create(manifestRequestToken, direction, siteId, fullSync, wpengineSiteId, wpengineInstallName, wpengineInstallId, wpenginePrimaryDomain)","thread":"main","timestamp":"2025-02-20T05:56:49.310Z"}
{"level":"warn","linuxEdition":null,"localVersion":"9.2.2+6771","message":"Electron Event ready","osArch":"x64","osPlatform":"win32","osRelease":"10.0.19045","timestamp":"2025-02-20T05:56:52.407Z","windowsEdition":"Microsoft Windows 10 Home Single Language"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:43.178632Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:43.205Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:43.178680Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.35) starting as process 5852","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:43.206Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:43.188027Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:43.208Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:43.212241Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:43.213Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:43.231897Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:43.232Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:44.715321Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:44.715Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:46.283276Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:46.283Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:46.283437Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:46.285Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:46.319344Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-000001 - Can't create/write to file '%%userDataPath%%\\run\\yYjV4qCfE\\mysql\\data\\????.pid' (OS errno 2 - No such file or directory)","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:46.320Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:46.321815Z 0 [ERROR] [MY-010092] [Server] Can't start server: can't create PID file: No such file or directory","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:46.322Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:46.339675Z 0 [ERROR] [MY-010119] [Server] Aborting","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:46.340Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:47.715062Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.35) MySQL Community Server - GPL.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:47.715Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:48.716361Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:48.731Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:48.716401Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.35) starting as process 3984","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:48.732Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:48.720667Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:48.734Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:48.738829Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:48.739Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:48.747285Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:48.748Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:49.720104Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:49.720Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:50.620163Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:50.620Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:50.620445Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:50.622Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:50.635725Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-000001 - Can't create/write to file '%%userDataPath%%\\run\\yYjV4qCfE\\mysql\\data\\????.pid' (OS errno 2 - No such file or directory)","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:50.636Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:50.636413Z 0 [ERROR] [MY-010092] [Server] Can't start server: can't create PID file: No such file or directory","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:50.638Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:50.648015Z 0 [ERROR] [MY-010119] [Server] Aborting","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:50.648Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:51.869824Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.35) MySQL Community Server - GPL.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:51.870Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:52.648567Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:52.660Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:52.648605Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.35) starting as process 9028","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:52.661Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:52.652246Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:52.663Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:52.666494Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:52.666Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:52.673495Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:52.674Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:53.397999Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:53.398Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:54.346744Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:54.347Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:54.346997Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:54.349Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:54.361805Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-000001 - Can't create/write to file '%%userDataPath%%\\run\\yYjV4qCfE\\mysql\\data\\????.pid' (OS errno 2 - No such file or directory)","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:54.362Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:54.361877Z 0 [ERROR] [MY-010092] [Server] Can't start server: can't create PID file: No such file or directory","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:54.363Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:54.373563Z 0 [ERROR] [MY-010119] [Server] Aborting","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:54.374Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:55.590293Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.35) MySQL Community Server - GPL.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:55.590Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:56.366839Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:56.377Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:56.366877Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.35) starting as process 7348","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:56.378Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:56.370052Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:56.379Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:56.382983Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:56.383Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:56.387532Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:56.387Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:57.138541Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:57.139Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:57.960337Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:57.960Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:57.960492Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:57.962Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:57.973705Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-000001 - Can't create/write to file '%%userDataPath%%\\run\\yYjV4qCfE\\mysql\\data\\????.pid' (OS errno 2 - No such file or directory)","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:57.974Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:57.973768Z 0 [ERROR] [MY-010092] [Server] Can't start server: can't create PID file: No such file or directory","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:57.975Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:57.982911Z 0 [ERROR] [MY-010119] [Server] Aborting","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:57.983Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:57:59.233060Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.35) MySQL Community Server - GPL.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:57:59.233Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:00.134153Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:00.144Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:00.134179Z 0 [System] [MY-010116] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe (mysqld 8.0.35) starting as process 8404","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:00.145Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:00.136772Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:00.147Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:00.151601Z 0 [Warning] [MY-013907] [InnoDB] Deprecated configuration parameters innodb_log_file_size and/or innodb_log_files_in_group have been used to compute innodb_redo_log_capacity=201326592. Please use innodb_redo_log_capacity instead.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:00.152Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:00.156341Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:00.156Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:00.828426Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:00.829Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:01.690487Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:01.691Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:01.690653Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:01.692Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:01.704771Z 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-000001 - Can't create/write to file '%%userDataPath%%\\run\\yYjV4qCfE\\mysql\\data\\????.pid' (OS errno 2 - No such file or directory)","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:01.705Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:01.704825Z 0 [ERROR] [MY-010092] [Server] Can't start server: can't create PID file: No such file or directory","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:01.706Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:01.713752Z 0 [ERROR] [MY-010119] [Server] Aborting","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:01.714Z"}
{"class":"Process","level":"warn","message":"2025-02-20T05:58:02.955448Z 0 [System] [MY-010910] [Server] %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqld.exe: Shutdown complete (mysqld 8.0.35) MySQL Community Server - GPL.","process":"mysql","thread":"main","timestamp":"2025-02-20T05:58:02.955Z"}
{"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+2\\bin\\win64\\bin\\mysqladmin.exe --host=::1 ping\n\u0007mysqladmin: connect to server at '::1' failed\r\nerror: 'Lost connection to MySQL server at 'reading initial communication packet', system error: 0'\r\n\n at ChildProcess.exithandler (node:child_process:422:12)\n at ChildProcess.emit (node:events:517:28)\n at maybeClose (node:internal/child_process:1098:16)\n at ChildProcess._handle.onexit (node:internal/child_process:303:5)","thread":"main","timestamp":"2025-02-20T05:58:02.966Z"}
{"class":"SiteProcessManagerService","level":"error","message":"Unable to start site.","stack":"Error: Command failed: %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqladmin.exe --host=::1 ping\n\u0007mysqladmin: connect to server at '::1' failed\r\nerror: 'Lost connection to MySQL server at 'reading initial communication packet', system error: 0'\r\n\n at ChildProcess.exithandler (node:child_process:422:12)\n at ChildProcess.emit (node:events:517:28)\n at maybeClose (node:internal/child_process:1098:16)\n at ChildProcess._handle.onexit (node:internal/child_process:303:5)","thread":"main","timestamp":"2025-02-20T05:58:02.968Z"}
{"class":"SiteProvisionerService","level":"error","message":"Unable to provision site.","stack":"Error: Command failed: %%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqladmin.exe --host=::1 ping\n\u0007mysqladmin: connect to server at '::1' failed\r\nerror: 'Lost connection to MySQL server at 'reading initial communication packet', system error: 0'\r\n\n at ChildProcess.exithandler (node:child_process:422:12)\n at ChildProcess.emit (node:events:517:28)\n at maybeClose (node:internal/child_process:1098:16)\n at ChildProcess._handle.onexit (node:internal/child_process:303:5)","thread":"main","timestamp":"2025-02-20T06:01:20.142Z"}
{"eventId":"1bca6a9a292b4cf8b4c33561115fdeba","level":"warn","message":"Unhandled Rejection.","p":{},"reason":{"cmd":"%%userDataPath%%\\lightning-services\\mysql-8.0.35+2\\bin\\win64\\bin\\mysqladmin.exe --host=::1 ping","code":1,"killed":false,"signal":null},"thread":"main","timestamp":"2025-02-20T06:01:20.830Z"}

```

_ **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:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [February 20, 2025, 8:44am UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/2 "2025-02-20T08:44:28Z")

</div>

Welcome, @Faysal_Shipu, and thanks for this report.

Your logs show that MySQL can’t write to a directory it needs write access to:

```auto
[ERROR] [MY-013129] [Server] Can't create/write to file ‘%%userDataPath%%\run\yYjV4qCfE\mysql\data\???.pid’ (OS errno 2 - No such file or directory)

[ERROR] [MY-010092] [Server] Can't start server: can't create PID file: No such file or directory

```

This can happen due to antivirus or security software that sometimes prevents Local and MySQL from writing files.

There are some extra tips here that can help with permissions issues on Windows:

> **[Troubleshoot: Windows + Local](https://localwp.com/help-docs/troubleshooting/troubleshoot-windows-local/)**
>
> Windows is the operating system of choice for the majority of Local users, and while Local is compatible with Windows, below we will break down some common troubleshooting steps for Windows users to…

---

<div class="post-metadata">

**Author:** ![Faysal\_Shipu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@Faysal\_Shipu](https://community.localwp.com/u/Faysal_Shipu)\
**Post date:** [February 20, 2025, 3:58pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/3 "2025-02-20T15:58:42Z")

</div>

I am still facing the same problem—I cannot create a new site due to this issue. I have followed every step you mentioned, but nothing has worked. I am exhausted from trying to solve this problem, as I have been dealing with it for almost 15 days.

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [February 20, 2025, 4:58pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/4 "2025-02-20T16:58:11Z")

</div>

Sorry for the trouble you’ve had with this, @Faysal_Shipu, I completely understand your frustration.

So far I cannot reproduce the error you see with Local 9.2.2 on Windows.

Do you have plenty of free disk space?

Are you running Local as an admin user?

---

<div class="post-metadata">

**Author:** ![Faysal\_Shipu](https://avatars.discourse-cdn.com/v4/letter/f/49beb7/32.png) [@Faysal\_Shipu](https://community.localwp.com/u/Faysal_Shipu)\
**Post date:** [February 21, 2025, 3:21am UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/5 "2025-02-21T03:21:35Z")

</div>

Thank you for your response.

- I have **around 10GB of free disk space** available.
- I am running **LocalWP as an administrator**
- I have also tried disabling my antivirus and firewall, but the issue persists.

Do you have any other suggestions or troubleshooting steps I should try?

Thanks again for your help!

---

<div class="post-metadata">

**Author:** ![nickc](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nickc/32/21209_2.png) [@nickc](https://community.localwp.com/u/nickc)\
**Post date:** [February 21, 2025, 2:48pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/6 "2025-02-21T14:48:05Z")

</div>

Thanks for that info, @Faysal_Shipu!

Let’s first check if this is specific to MySQL 8.0.35 (the latest version of MySQL that Local supports).

You can do that by trying to create a site using the previous version, MySQL 8.0.16:

1. Click the + button (bottom left) to add a new site.
2. Choose “Create a new site” and click “Continue”.
3. Give the site a name and click “Continue”.
4. Change from “Preferred” to “Custom”.
5. Choose 8.2.23 for the PHP version, nginx for the web server, and MySQL 8.0.16 for the database. Click “Continue”. MySQL 8.0.16 will download and Local will try to start your site.

If that works, let us know — it at least gives you a workaround for now.

If it doesn’t work, please could you share your logs again after the site fails to start?

Thanks for your patience and perseverance with this. I’m interested to see what’s causing sites to fail to start for you.

---

<div class="post-metadata">

**Author:** ![offbeat](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@offbeat](https://community.localwp.com/u/offbeat)\
**Post date:** [March 7, 2025, 1:00pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/7 "2025-03-07T13:00:04Z")

</div>

Hi, same issue. I contacted support team, got a response that local support team will assist

---

<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:** [March 7, 2025, 1:49pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/8 "2025-03-07T13:49:15Z")

</div>

Hi @offbeat

Have you tried any troubleshooting steps so far?

Could you provide some more details to help us take a further look?

- What is your OS?

- What version of Local are you on?

- Please attach a copy of your [Local Logs](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

Keep us posted and we’d be happy to help further!

---

<div class="post-metadata">

**Author:** ![offbeat](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@offbeat](https://community.localwp.com/u/offbeat)\
**Post date:** [March 7, 2025, 3:43pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/9 "2025-03-07T15:43:01Z")

</div>

Hi @Nick-B

Windows. I downloaded 9.2.2. Got error, can’t connect to MySQL server. Uninstalled and reinstalled. Downloaded 9.2.0. Created Custom site instead of Preferred.  
[local-lightning.log](https://community.localwp.com/uploads/short-url/nLf10yKS6lBs5MeVGN0XFERBNZX.log) (140.8 KB)

---

<div class="post-metadata">

**Author:** ![offbeat](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@offbeat](https://community.localwp.com/u/offbeat)\
**Post date:** [March 7, 2025, 3:45pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/10 "2025-03-07T15:45:36Z")

</div>

@Nick-B log in chat is okay? If you want email address, let me know.

---

<div class="post-metadata">

**Author:** ![offbeat](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@offbeat](https://community.localwp.com/u/offbeat)\
**Post date:** [March 8, 2025, 5:25am UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/11 "2025-03-08T05:25:46Z")

</div>

any update?

---

<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:** [March 10, 2025, 12:59pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/12 "2025-03-10T12:59:20Z")

</div>

@offbeat

Can you try the steps outlined here to see if using MySQL v8.0.16 works?

> [@Unable to start site - MySQL Error](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/6):
>
> Thanks for that info, @Faysal_Shipu! Let’s first check if this is specific to MySQL 8.0.35 (the latest version of MySQL that Local supports). You can do that by trying to create a site using the previous version, MySQL 8.0.16: Click the + button (bottom left) to add a new site. Choose “Create a new site” and click “Continue”. Give the site a name and click “Continue”. Change from “Preferred” to “Custom”. Choose 8.2.23 for the PHP version, nginx for the web server, and MySQL 8.0.16 for the da…

---

<div class="post-metadata">

**Author:** ![offbeat](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@offbeat](https://community.localwp.com/u/offbeat)\
**Post date:** [March 12, 2025, 6:18am UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/13 "2025-03-12T06:18:00Z")

</div>

@Nick-B

I had already done steps by changing to Custom. I installed MAMP. There was message so i deleted Local but still getting some error. I am stuck

---

<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:** [March 12, 2025, 12:57pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/14 "2025-03-12T12:57:38Z")

</div>

You’re still getting the same error in MAMP as well?

Have you reinstalled Local? Once you’ve tried in Local again could you share a fresh Local log here? [Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

---

<div class="post-metadata">

**Author:** ![offbeat](https://avatars.discourse-cdn.com/v4/letter/o/898d66/32.png) [@offbeat](https://community.localwp.com/u/offbeat)\
**Post date:** [March 12, 2025, 1:11pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/15 "2025-03-12T13:11:59Z")

</div>

okay, will reinstall

---

<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:** [March 13, 2025, 12:56pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/16 "2025-03-13T12:56:14Z")

</div>

Keep us posted @offbeat and we’d be happy to help further!

---

<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:** [June 11, 2025, 12:56pm UTC](https://community.localwp.com/t/unable-to-start-site-mysql-error/47145/17 "2025-06-11T12:56:49Z")

</div>

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