# Как загрузить файл базы с большим размером?

Если база данных весит больше 300MB, рекомендуем загружать ее через консоль.

```bash
mysql -u DB_USERNAME -p DB_DATABASE < sql.sql
```

{% hint style="info" %}

* DB\_USERNAME и DB\_DATABASE можете взять на сервере из файла `.env`
* sql.sql - замените на ваш файл базы данных
  {% endhint %}

После ввода команды, нажмите "Enter", введите пароль к базе из поля **`"DB_PASSWORD"`** и готово.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.iexexchanger.com/dev-help/faq/kak-zagruzit-fail-bazy-s-bolshim-razmerom.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
