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

**URL:** <https://community.localwp.com/t/unable-to-import-wordpress-site-to-local-5-10-1-error-1146-42s02-at-line-1-table-local-wp-options-doesn-t-exist/39796>\
**Category:** Support\
**Tags:** mac\
**Created:** [November 1, 2023, 3:56pm UTC](https://community.localwp.com/t/unable-to-import-wordpress-site-to-local-5-10-1-error-1146-42s02-at-line-1-table-local-wp-options-doesn-t-exist/39796 "2023-11-01T15:56:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![heshamelmasry77](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/heshamelmasry77/32/19980_2.png) [@heshamelmasry77](https://community.localwp.com/u/heshamelmasry77)\
**Post date:** [November 1, 2023, 3:56pm UTC](https://community.localwp.com/t/unable-to-import-wordpress-site-to-local-5-10-1-error-1146-42s02-at-line-1-table-local-wp-options-doesn-t-exist/39796/1 "2023-11-01T15:56:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 1, 2023, 3:58pm UTC](https://community.localwp.com/t/unable-to-import-wordpress-site-to-local-5-10-1-error-1146-42s02-at-line-1-table-local-wp-options-doesn-t-exist/39796/2 "2023-11-01T15:58:54Z")

</div>

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:

> **[Releases](https://localwp.com/releases/)**

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](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

---

<div class="post-metadata">

**Author:** ![heshamelmasry77](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/heshamelmasry77/32/19980_2.png) [@heshamelmasry77](https://community.localwp.com/u/heshamelmasry77)\
**Post date:** [November 1, 2023, 4:10pm UTC](https://community.localwp.com/t/unable-to-import-wordpress-site-to-local-5-10-1-error-1146-42s02-at-line-1-table-local-wp-options-doesn-t-exist/39796/3 "2023-11-01T16:10:13Z")

</div>

![CleanShot 2023-11-01 at 18.09.26@2x](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/1/9/198682c4231eb84bb5c1bde57f3965810e8792a4.png)

now i get this issue after i updated

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 1, 2023, 4:11pm UTC](https://community.localwp.com/t/unable-to-import-wordpress-site-to-local-5-10-1-error-1146-42s02-at-line-1-table-local-wp-options-doesn-t-exist/39796/4 "2023-11-01T16:11:30Z")

</div>

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

[https://community.localwp.com/t/local-beta-8-0-2/](https://community.localwp.com/t/local-beta-8-0-2/)

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

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [October 31, 2025, 3:56pm UTC](https://community.localwp.com/t/unable-to-import-wordpress-site-to-local-5-10-1-error-1146-42s02-at-line-1-table-local-wp-options-doesn-t-exist/39796/5 "2025-10-31T15:56:24Z")

</div>

Closed on October 31, 2025, 3:56pm UTC

This topic was automatically closed after 730 days. New replies are no longer allowed.
