# SQL error importing site

**URL:** <https://community.localwp.com/t/sql-error-importing-site/35386>\
**Category:** Support\
**Created:** [February 4, 2023, 12:49am UTC](https://community.localwp.com/t/sql-error-importing-site/35386 "2023-02-04T00:49:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Username1](https://avatars.discourse-cdn.com/v4/letter/u/ee59a6/32.png) [@Username1](https://community.localwp.com/u/Username1)\
**Post date:** [February 4, 2023, 12:49am UTC](https://community.localwp.com/t/sql-error-importing-site/35386/1 "2023-02-04T00:49:34Z")

</div>

How do I resolve the following error? Keep in mind that I am not a tech expert. Local was unable to import the following SQL files: C:/Users/Chris/Local Sites/2023-03-01-e6tn5b2k02/app/sql/dbootjn6pwqljq.sql

---

<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:** [February 4, 2023, 2:45pm UTC](https://community.localwp.com/t/sql-error-importing-site/35386/2 "2023-02-04T14:45:48Z")

</div>

Hi @Username1

Simply, Local wasn’t able to import the database for the site.

Can you provide some more details? Like your OS version, Local version, and a copy of your Local Log? [Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

Was this a site you built or was hosted somewhere that you are now trying to import into Local?

---

<div class="post-metadata">

**Author:** ![Username1](https://avatars.discourse-cdn.com/v4/letter/u/ee59a6/32.png) [@Username1](https://community.localwp.com/u/Username1)\
**Post date:** [February 5, 2023, 1:19pm UTC](https://community.localwp.com/t/sql-error-importing-site/35386/3 "2023-02-05T13:19:07Z")

</div>

Windows 10 - I don’t know the Local version, but it must be the latest because I downloaded it last week. We built the site with Elementor and it is currently being hosted on Siteground. I was referred by Elementor. They said that with your service I could build a new website while keeping my existing one up.  
[local-logs.zip](https://community.localwp.com/uploads/short-url/lG9nVXDnpGP7vLxPsUQMayRoWAr.zip) (2.9 KB)

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [February 6, 2023, 4:56pm UTC](https://community.localwp.com/t/sql-error-importing-site/35386/4 "2023-02-06T16:56:44Z")

</div>

Hi @Username1 -

Thank you for the information.

How did you go about importing your site into Local?

Did you follow this help doc? Thank you!

> **[Import a WordPress Site into Local](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/)**
>
> Local is pretty flexible about being able to import a WordPress site from a archive. There are two required things that Local needs for the import to be successful: There are a few ways to get a zip…

Sam

---

<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:** [May 7, 2023, 4:57pm UTC](https://community.localwp.com/t/sql-error-importing-site/35386/5 "2023-05-07T16:57:39Z")

</div>

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