# Unable to import SQL files

**URL:** <https://community.localwp.com/t/unable-to-import-sql-files/27760>\
**Category:** Support\
**Created:** [September 16, 2021, 9:57pm UTC](https://community.localwp.com/t/unable-to-import-sql-files/27760 "2021-09-16T21:57:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dylanyopp](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/dylanyopp/32/14197_2.png) [@dylanyopp](https://community.localwp.com/u/dylanyopp)\
**Post date:** [September 16, 2021, 9:57pm UTC](https://community.localwp.com/t/unable-to-import-sql-files/27760/1 "2021-09-16T21:57:43Z")

</div>

### Issue Summary

Creating a new site from backup of production, wp-content and sql file are zipped in a folder together. After dragging and dropping the zip into local an error message pops up saying "unable to import sql file. Attached is my log file  
[local-lightning.log](https://community.localwp.com/uploads/short-url/bhlIVhgJAeaqDURYFoZ7MSBOFKb.log) (635.7 KB)

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular?  
Just the one I am trying to import
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?  
Yes, I am able to access my other test sites  
 ![8A9B1729-AC3F-4AB2-A560-86B1A2B23ED0_4_5005_c](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/2/2103856dabe32e07a69335fec42c4ae4b5382e27.jpeg)

#### Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!

#### System Details

Mac Catalina

- Which version of Local is being used?  
6.1.2
- What Operating System (OS) and OS version is being used?
  - _For example: macOS Catalina or Windows 10 Professional_  
macOS Catalina

- Attach the Local Log. See this Community Forum post for instructions on how to do so:
  - [How do I retrieve Local’s Log?](https://localwp.com/community/t/how-do-i-retrieve-locals-log-file/3720)

### Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<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:** [December 15, 2021, 9:58pm UTC](https://community.localwp.com/t/unable-to-import-sql-files/27760/2 "2021-12-15T21:58:33Z")

</div>

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