Unable to Import Wordpress Site to Local 5.10.1 - ERROR 1146 (42S02) at line 1: Table ‘local.wp_options’ doesn’t exist

I can’t find a solution for this issue and i can see other has asked and no one knows how to fix

the issue

Error: Command failed: /Applications/Local.app/Contents/Resources/extraResources/lightning-services/mysql-8.0.16+6/bin/darwin/bin/mysql local -B --disable-column-names -e SELECT option_value FROM wp_options WHERE option_name = ‘siteurl’;

ERROR 1146 (42S02) at line 1: Table ‘local.wp_options’ doesn’t exist

Hi @heshamelmasry77

This error is sort of generic and doesn’t always necessarily point to the same culprit.

Are you still using Local 5.10? We are currently up 8.0.1. As a first step I’d recommend updating to the latest release. We introduced some breaking changes around 6.4 so you’ll have to update manually by downloading from our releases page here:

After that if you’re still having trouble please reach back out and let us know your OS version and share a copy of your Local Log: Retrieving Local’s Log File

now i get this issue after i updated

If you’re trying to connect to WP Engine we have a recent bug that is fixed with this Beta version:


We should have a stable release out today for this as we’ve heard from several WPE users that the Beta fix works!