# [FAQ] Lightning 导入报错 table `xx`.`xx` schema not found

## Key Words

Lightning, Schema not found

## Description

使用 Lightning 导入数据时，遇到报错如下

```sql
Error: table `xx`.`xxx` schema not found
tidb lightning encountered error:  table `xx`.`xxx` schema not found
``` 

## Content

由于 lightning 导入时需要从 status-port 获取 schema 信息，所以当 status-port 填写错误时无法获取到。

请检查命令行或者配置文件中的 status-port 端口是否填写正确。

## Affected Versions

N/A