The database seems to error out after restarting

Bug Summary

I am new to using Local. After making a fresh installation, adding new sites (with no content), and restarting my computer, it seems my database has disappeared.

I get met with Error establishing a database connection when I start the site and go to the home page. Then I get the error “No such file or directory” when I go to Adminer and try to log in.

Steps to reproduce

  1. Install Local on Ubuntu
  2. Add a site
  3. Restart the computer

Environment Info

Describe your environment.

  • OS: Ubuntu 22.10
  • PHP 7.4.30
  • WordPress 6.1.1
  • Apache server
  • MySql 8.0.16
  • Local Version: 6.6.0+6231

Supporting info

Please provide your Local Log. See this Community Forum post for instructions on how to do so:

{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:40.012767Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-01-15T21:59:41.554Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:41.552584Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-01-15T21:59:41.554Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:42.212388Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 84865","timestamp":"2023-01-15T21:59:42.905Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:42.213265Z 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.","timestamp":"2023-01-15T21:59:42.906Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:42.904522Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-01-15T21:59:42.906Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:42.904771Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Cannot assign requested address","timestamp":"2023-01-15T21:59:42.907Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:42.904774Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10011 ?","timestamp":"2023-01-15T21:59:42.907Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:42.904932Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-01-15T21:59:44.440Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:44.439003Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-01-15T21:59:44.441Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:45.092727Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 85332","timestamp":"2023-01-15T21:59:45.791Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:45.094286Z 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.","timestamp":"2023-01-15T21:59:45.792Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:45.790903Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-01-15T21:59:45.793Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:45.791135Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Cannot assign requested address","timestamp":"2023-01-15T21:59:45.793Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:45.791138Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10011 ?","timestamp":"2023-01-15T21:59:45.794Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%resourcesPath%%/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:407:12)\n    at ChildProcess.emit (node:events:527:28)\n    at maybeClose (node:internal/child_process:1092:16)\n    at Socket.<anonymous> (node:internal/child_process:451:11)\n    at Socket.emit (node:events:527:28)\n    at Pipe.<anonymous> (node:net:709:12)","level":"error","message":"Database did NOT respond to ping after 15 tries.","timestamp":"2023-01-15T21:59:47.305Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:45.791294Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-01-15T21:59:47.331Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:47.330945Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-01-15T21:59:47.332Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:47.982611Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 85404","timestamp":"2023-01-15T21:59:48.726Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:47.984418Z 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.","timestamp":"2023-01-15T21:59:48.727Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:48.726140Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-01-15T21:59:48.727Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:48.726371Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Cannot assign requested address","timestamp":"2023-01-15T21:59:48.728Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:48.726374Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10011 ?","timestamp":"2023-01-15T21:59:48.728Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:48.726525Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-01-15T21:59:50.287Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-01-15T21:59:50.286118Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-01-15T21:59:50.288Z"}
{"localVersion":"6.6.0+6231","osPlatform":"linux","osRelease":"5.19.0-1015-lowlatency","osArch":"x64","windowsEdition":null,"linuxEdition":{"os":"linux","dist":"Ubuntu","codename":"jammy","release":"22.04"},"level":"warn","message":"Electron Event ready","timestamp":"2023-01-26T22:51:20.767Z"}
{"localVersion":"6.6.0+6231","osPlatform":"linux","osRelease":"5.19.0-1015-lowlatency","osArch":"x64","windowsEdition":null,"linuxEdition":{"os":"linux","dist":"Ubuntu","codename":"jammy","release":"22.04"},"level":"warn","message":"Electron Event ready","timestamp":"2023-02-01T18:25:09.030Z"}
{"thread":"main","class":"ConfigTemplatesService","message":"Cannot add Local's auto_prepend_file as it was already found in \"%%site.runData%%/conf/php/php.ini\"","level":"warn","timestamp":"2023-02-01T18:25:23.752Z"}
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] open() \"/home/j/Local Sites/wheel-of-the-year/logs/nginx/error.log\" failed (2: No such file or directory)","timestamp":"2023-02-01T18:25:23.796Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:23] ERROR: failed to open error_log (/home/j/Local Sites/wheel-of-the-year/logs/php/php-fpm.log): No such file or directory (2)","timestamp":"2023-02-01T18:25:23.834Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:23] ERROR: failed to post process the configuration","timestamp":"2023-02-01T18:25:23.835Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:23] ERROR: FPM initialization failed","timestamp":"2023-02-01T18:25:23.836Z"}
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] open() \"/home/j/Local Sites/wheel-of-the-year/logs/nginx/error.log\" failed (2: No such file or directory)","timestamp":"2023-02-01T18:25:24.312Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:24] ERROR: failed to open error_log (/home/j/Local Sites/wheel-of-the-year/logs/php/php-fpm.log): No such file or directory (2)","timestamp":"2023-02-01T18:25:24.374Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:24] ERROR: failed to post process the configuration","timestamp":"2023-02-01T18:25:24.374Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:24] ERROR: FPM initialization failed","timestamp":"2023-02-01T18:25:24.375Z"}
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] open() \"/home/j/Local Sites/wheel-of-the-year/logs/nginx/error.log\" failed (2: No such file or directory)","timestamp":"2023-02-01T18:25:24.826Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:25:23.967545Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 22889","timestamp":"2023-02-01T18:25:24.855Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:25:23.972741Z 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.","timestamp":"2023-02-01T18:25:24.855Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:25:24.827269Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-02-01T18:25:24.856Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:25:24.854775Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: ready for connections. Version: '8.0.16'  socket: '%%site.runData%%/mysql/mysqld.sock'  port: 10011  MySQL Community Server - GPL.","timestamp":"2023-02-01T18:25:24.856Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:24] ERROR: failed to open error_log (/home/j/Local Sites/wheel-of-the-year/logs/php/php-fpm.log): No such file or directory (2)","timestamp":"2023-02-01T18:25:24.904Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:24] ERROR: failed to post process the configuration","timestamp":"2023-02-01T18:25:24.904Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:24] ERROR: FPM initialization failed","timestamp":"2023-02-01T18:25:24.905Z"}
{"thread":"main","class":"Process","process":"nginx","level":"warn","message":"nginx: [emerg] open() \"/home/j/Local Sites/wheel-of-the-year/logs/nginx/error.log\" failed (2: No such file or directory)","timestamp":"2023-02-01T18:25:25.339Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:25] ERROR: failed to open error_log (/home/j/Local Sites/wheel-of-the-year/logs/php/php-fpm.log): No such file or directory (2)","timestamp":"2023-02-01T18:25:25.433Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:25] ERROR: failed to post process the configuration","timestamp":"2023-02-01T18:25:25.434Z"}
{"thread":"main","class":"Process","process":"phpFpm","level":"warn","message":"[01-Feb-2023 11:25:25] ERROR: FPM initialization failed","timestamp":"2023-02-01T18:25:25.434Z"}
{"localVersion":"6.6.0+6231","osPlatform":"linux","osRelease":"5.19.0-1015-lowlatency","osArch":"x64","windowsEdition":null,"linuxEdition":{"os":"linux","dist":"Ubuntu","codename":"jammy","release":"22.04"},"level":"warn","message":"Electron Event ready","timestamp":"2023-02-01T18:35:32.666Z"}
{"thread":"renderer","stack":"TypeError: Cannot convert undefined or null to object\n    at Function.entries (<anonymous>)\n    at m.getSiteServiceByRole (file://%%appPath%%/renderer/_browserWindows/app/app.js:2:226197)\n    at get frontendHost [as frontendHost] (file://%%appPath%%/renderer/_browserWindows/app/app.js:2:226592)\n    at get url [as url] (file://%%appPath%%/renderer/_browserWindows/app/app.js:2:227317)\n    at file://%%appPath%%/renderer/_browserWindows/app/app.js:28:76993\n    at click (file://%%appPath%%/renderer/_browserWindows/app/app.js:40:1772414)\n    at t.CallbacksRegistry.apply (file://%%appPath%%/renderer/_browserWindows/app/app.js:2:214762)\n    at file://%%appPath%%/renderer/_browserWindows/app/app.js:2:213058\n    at EventEmitter.<anonymous> (file://%%appPath%%/renderer/_browserWindows/app/app.js:2:212720)\n    at EventEmitter.emit (node:events:539:35)","eventId":"f85ac412a1594971a1ba3c2039706c2b","level":"error","message":"Cannot convert undefined or null to object","timestamp":"2023-02-01T18:37:30.497Z"}
{"thread":"main","class":"Process","process":"httpd","level":"warn","message":"AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message","timestamp":"2023-02-01T18:39:01.429Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:39:01.491956Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 28988","timestamp":"2023-02-01T18:39:02.395Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:39:01.492822Z 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.","timestamp":"2023-02-01T18:39:02.395Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:39:02.368866Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-02-01T18:39:02.396Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:39:02.394716Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: ready for connections. Version: '8.0.16'  socket: '%%site.runData%%/mysql/mysqld.sock'  port: 10004  MySQL Community Server - GPL.","timestamp":"2023-02-01T18:39:02.397Z"}
{"thread":"main","class":"Process","process":"httpd","level":"warn","message":"AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message","timestamp":"2023-02-01T18:41:28.577Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:41:28.652282Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 30276","timestamp":"2023-02-01T18:41:29.569Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:41:28.653132Z 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.","timestamp":"2023-02-01T18:41:29.570Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:41:29.542185Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-02-01T18:41:29.571Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:41:29.569347Z 0 [System] [MY-010931] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: ready for connections. Version: '8.0.16'  socket: '%%site.runData%%/mysql/mysqld.sock'  port: 10009  MySQL Community Server - GPL.","timestamp":"2023-02-01T18:41:29.582Z"}
{"localVersion":"6.6.0+6231","osPlatform":"linux","osRelease":"5.19.0-1015-lowlatency","osArch":"x64","windowsEdition":null,"linuxEdition":{"os":"linux","dist":"Ubuntu","codename":"jammy","release":"22.04"},"level":"warn","message":"Electron Event ready","timestamp":"2023-02-01T18:43:48.529Z"}
{"thread":"main","class":"Process","process":"httpd","level":"warn","message":"AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message","timestamp":"2023-02-01T18:43:57.534Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:43:57.660743Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 9246","timestamp":"2023-02-01T18:43:58.530Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:43:57.665512Z 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.","timestamp":"2023-02-01T18:43:58.530Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:43:58.529164Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-02-01T18:43:58.531Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:43:58.529476Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Cannot assign requested address","timestamp":"2023-02-01T18:43:58.531Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:43:58.529479Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10004 ?","timestamp":"2023-02-01T18:43:58.532Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:43:58.529664Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-02-01T18:43:59.999Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:43:59.997863Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-02-01T18:43:59.999Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:00.690054Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 9376","timestamp":"2023-02-01T18:44:01.462Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:00.690962Z 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.","timestamp":"2023-02-01T18:44:01.464Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:01.459483Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-02-01T18:44:01.466Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:01.460525Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Cannot assign requested address","timestamp":"2023-02-01T18:44:01.468Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:01.460544Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10004 ?","timestamp":"2023-02-01T18:44:01.469Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:01.461116Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-02-01T18:44:02.895Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:02.894127Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-02-01T18:44:02.896Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:03.550158Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 9566","timestamp":"2023-02-01T18:44:04.329Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:03.551215Z 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.","timestamp":"2023-02-01T18:44:04.329Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:04.328126Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-02-01T18:44:04.330Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:04.328312Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Cannot assign requested address","timestamp":"2023-02-01T18:44:04.330Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:04.328314Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10004 ?","timestamp":"2023-02-01T18:44:04.330Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%resourcesPath%%/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:407:12)\n    at ChildProcess.emit (node:events:527:28)\n    at maybeClose (node:internal/child_process:1092:16)\n    at Socket.<anonymous> (node:internal/child_process:451:11)\n    at Socket.emit (node:events:527:28)\n    at Pipe.<anonymous> (node:net:709:12)","level":"error","message":"Database did NOT respond to ping after 15 tries.","timestamp":"2023-02-01T18:44:05.662Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:04.328458Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-02-01T18:44:05.758Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:05.757510Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-02-01T18:44:05.759Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:06.430044Z 0 [System] [MY-010116] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld (mysqld 8.0.16) starting as process 10066","timestamp":"2023-02-01T18:44:07.211Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:06.430930Z 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.","timestamp":"2023-02-01T18:44:07.212Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:07.210221Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.","timestamp":"2023-02-01T18:44:07.212Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:07.210496Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: Cannot assign requested address","timestamp":"2023-02-01T18:44:07.213Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:07.210500Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 10004 ?","timestamp":"2023-02-01T18:44:07.213Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:07.210717Z 0 [ERROR] [MY-010119] [Server] Aborting","timestamp":"2023-02-01T18:44:08.641Z"}
{"thread":"main","class":"Process","process":"mysql","level":"warn","message":"2023-02-01T18:44:08.641287Z 0 [System] [MY-010910] [Server] %%resourcesPath%%/lightning-services/mysql-8.0.16+6/bin/linux/bin/mysqld: Shutdown complete (mysqld 8.0.16)  MySQL Community Server - GPL.","timestamp":"2023-02-01T18:44:08.642Z"}
{"thread":"main","service":{},"serviceBinVersion":{},"stack":"Error: Command failed: %%resourcesPath%%/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:407:12)\n    at ChildProcess.emit (node:events:527:28)\n    at maybeClose (node:internal/child_process:1092:16)\n    at Socket.<anonymous> (node:internal/child_process:451:11)\n    at Socket.emit (node:events:527:28)\n    at Pipe.<anonymous> (node:net:709:12)","level":"error","message":"Database did NOT respond to ping after 15 tries.","timestamp":"2023-02-01T18:52:51.287Z"}

Include any screenshots or video recordings of the issue to help others reproduce.


Any help would be greatly appreciated.

@che-wp-local

Are you able to create a new, blank site on Local and have that work normally? Or do this happen with any sites within your Local app?

Could you provide a copy of your Local Log? Retrieving Local’s Log File