After making no changes to the site, I am now unable to access anything. There appears to be an issue with connecting to MySQL. Things I have tried so far:
Restart Mac
Restart Local app
Restart Local Machine
Create new website (fails)
Access site (Error: Error establishing a database connection)
Updating site: (Error: Uh-oh! MySQL was unavailable when Local tried to back up wearitonce’s database.
Please check the local-by-flywheel.log file for more details.)
Can anyone provide me with any support to get this going? It is critically important that I can regain access to this site as soon as possible.
Thanks for the response - I also tried turning that option off.
I ended up fixing the issue by completely uninstalling Local and removing VirtualBox. I then reinstalled and dragged in a .zip backup to Local which got me up and running.
It is google translation.
After upgrading to 2.4.2, any browser can not access the site due to page load error.
I will attach a log that seems to be personally relevant.
It’s a nice software, but the upgrade is horrible.
Blockquote
Oct 3, 2018, 8:30 AM GMT+9 - error: [main/docker-network-manager] Error connecting cd3c7788614de649651e2a5562e8556d8c32097f3f16cbd206dc48f483b584d0 to network. Error: (HTTP code 404) network or container is not found - No such container: cd3c7788614de649651e2a5562e8556d8c32097f3f16cbd206dc48f483b584d0
at C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:239:17
at getCause (C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:269:7)
at Modem.buildPayload (C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:238:5)
at IncomingMessage. (C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:214:14)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
Oct 3, 2018, 8:30 AM GMT+9 - error: [main/docker-network-manager] Error connecting 5b75acd2773aaeb64a1ad1acbea63846ba649129d214d598dd2f943074132728 to network. Error: (HTTP code 404) network or container is not found - No such container: 5b75acd2773aaeb64a1ad1acbea63846ba649129d214d598dd2f943074132728
at C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:239:17
at getCause (C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:269:7)
at Modem.buildPayload (C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:238:5)
at IncomingMessage. (C:\Users\myaccount\AppData\Local\Programs\local-by-flywheel\resources\app.asar\node_modules\docker-modem\lib\modem.js:214:14)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1056:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickDomainCallback (internal/process/next_tick.js:218:9)
Oct 3, 2018, 8:30 AM GMT+9 - info: [EnvironmentCustom] Starting php-fpm done
Oct 3, 2018, 9:13 AM GMT+9 - info: [main/stopSite] Stopping site: running mydumper
Oct 3, 2018, 9:13 AM GMT+9 - info: [main/stopSite] Stopping site: stopping container 692a2ee870f59967b9e20f25b75756eb81093b959944b82531b7c7502af9a29d
I tried reinstalling everything but it was useless.
After deleting the folder of localbyflywheel in roming (?),
I could connect the new site but the existing site is not displayed in local.
I made a new site and replaced it with an existing site.
Since there was no table in the database, I tried to expand the backup and import schema.sql.
The posts draft also contained ‘0000-00-00’ so I could not read it.
add to
If you can access the database try the following.
When there is no table
Import local.wp_hogehoge - schema.sql one by one, or try executing the SQL command written in the file.
Report when an error occurs.
If the table already exists
Empty the table and import local.wp_hogehoge.sql one by one, try executing the SQL command written in the file.
Report when an error occurs.
Because it is what non programmers did, look at the big.
What I tried
Change the folder name of the existing site.
Deploy a database backup of an existing site.
Make a site with an existing site name.
It is good to keep the ID and password of the new site the same as the existing one.
Changing local.wp_user.sql handling becomes troublesome.
I could not access it and I had a hard time.
Access the database of the new site.
Empty the tables other than wp_user.
Import local.wp_hogehoge.sql of the expanded backup folder.
Since an error appears in the line containing 0000-00-00 in the sql file, delete it.
Stop the new site once it has finished.
Change the folder name of the new site appropriately.
Restore the folder name of the existing site you changed first.
Copy or replace the new site’s local-adminer-hogehoge.php to the existing site.
Do not change file name.
Confirm that you can access the database of the existing site by launching a new site.
After upgrade
Is it because it did not have a database that I could not connect to an existing site?
At that time, I could not access the database, and it remains a mystery.