I am getting the following error when trying to create a website:

Uh-oh! Unable to provision site.

Error: Error: Command failed:
C:\Users\Héber\AppData\Roaming\Local\lightning-services\mysql-8.0.16+6\binaries\win64\bin\mysqld.exe
–defaults-file=C:\Users\Héber\AppData\Roaming\Local\run\Ty58ExLt\conf\mysql\my.cnf
–initialize-insecure
mysqld: Can’t create directory 'C:\Users\Héber\AppData\Roaming\Local\run\Ty58ExLt\mysql\data' (OS errno 2 - No such file or directory)
2024-11-23T20:33:16.677704Z 0 [System] [MY-013169] [Server]
C:\Users\Héber\AppData\Roaming\Local\lightning-services\mysql-8.0.16+6\binaries\win64\bin\mysqld.exe
(mysql 8.0.16) initializing of server in progress as process 20448
2024-11-23T20:33:16.679017Z 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.
2024-11-23T20:33:16.680240Z 0 [ERROR] [MY-013236] [Server] Newly created data directory C:\Users\Héber\AppData\Roaming\Local\run\Ty58ExLt\mysql\data\ is unusable. You can safely remove it.
2024-11-23T20:33:16.680455Z 0 [ERROR] [MY-010119] [Server] Aborting
2024-11-23T20:33:16.680578Z 0 [System] [MY-010910] [Server]
C:\Users\Héber\AppData\Roaming\Local\lightning-services\mysql-8.0.16+6\binaries\win64\bin\mysqld.exe: Shutdown complete (mysqld 8.0.16) MySQL Community Server - GPL.

at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)

Hi, @heber.silva. This is caused by the special character in your Windows username (Héber), which Local does not currently support.

The workaround at the moment is to create a Windows user without special characters.

1 Like