Recently I began learning the Phoenix web framework for Elixir. I explored controllers, views and templates. Then I came to use Ecto and migrations. I am a long-time user of MySQL, so I created a MySQL database using
mix ecto.create and it just worked. After adding a migration I ran
mix ecto.migrate to setup the new table.
Currently there is a bug in MySQL and it will never create anything except the
schema_migrations table but will run forever and do nothing instead. I found an issue in the Ecto Github repo for it here.
The solution is to change the
mariadb dependency in