I was recently following some troubleshooting steps for Local and removed the docker component that Local automatically sets up via an app called VirtualBox, which it installs during setup. Right after I did this I realized that I may have also deleted all of the databases for my sites. Turns out I did. https://twitter.com/zgordon/status/863958568097153024 NOTE: If you remove … Continue reading Local from Flywheel Saves Database SQL Files When Site is Stopped
Tag: database
WordPress Database Search and Replace with WP CLI
While working locally on a new site I realized that all of the image URLs were busted. Super happy to test out using the WP CLI search-replace feature for the first time to find out it works great! wp search-replace oldurl.com newurl.com Back in the old days I would use plugins like the Search and … Continue reading WordPress Database Search and Replace with WP CLI
Why and How to Optimized Your WordPress Database
Thanks to Sourav Kundu and WPExplorer for this article on optimizing your WordPress database. It's not too often that you need to do this, although this article does explain what builds up in the database that needs optimization.
