0

I am new to Elixir/Erlang. As I need to setup an existing application, I am executing below step to generate migrations:

mix ecto.migrate

After migrating 9 tables, everytime it is throwing following error:

<b> 00:55:30.074 [error] Mariaex.Protocol (#PID<0.415.0>) disconnected: ** (Mariaex.Error) [tcp] `recv` failed with: :timeout </b>

I am really stuck here and do not know how to move ahead. Theare are around 175 migration files.

I tried to re-run the migrations command but that is not working.

oldhomemovie
  • 14,621
  • 13
  • 64
  • 99
Venkat
  • 37
  • 3

1 Answers1

1

Probably the migration whos generate this error performs a long operation and exceeds your MariaDB/MySQL timeout.

Try increase your timeouts for this operation: