Unable to Import WP Site, wp_options table doesn't exist

Issue Summary

Having issue with importing the WordPress site to local with the following error:
local -B --disable-column-names -e SELECT option_value FROM wp_options WHERE option_name = ‘siteurl’;\nERROR 1146 (42S02) at line 1: Table ‘local.wp_options’ doesn’t exist\r\n.
I’ve observed the same issue in this topic and tried to increase the php memory size, which isn’t of much help

Replication

Screenshot (214)

System Details

  • Which version of Local is being used?

    • Local v5.10.5+5403
  • What Operating System (OS) and OS version is being used?

    • Windows 10 Professional Version 1909
  • Attach the Local Log. See this Community Forum post for instructions on how to do so:
    local-lightning.log (842.0 KB)

1 Like

Experiencing a similar variant of this issue

Receiving the following error:

Error: Command failed: C:\Program Files (x86)\Local\resources\extraResources\lightning-services\mysql-8.0.16+6\bin\win…\mysql.exe 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

System Details

  • Which version of Local is being used?: Local Version 6.0.0+5444
  • What Operating System (OS) and OS version is being used?: Windows 10 Pro OS Build: 19042.1052
  • Attach Local Log: local-lightning.log (392.9 KB)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.