# Building a new MySQL adapter for Ecto Part IV: Ecto Integration

DevFeed: [Building a new MySQL adapter for Ecto Part IV: Ecto Integration](<https://devfeed.tech/articles/building-a-new-mysql-adapter-for-ecto-part-iv-ecto-integration-43990.md>)

Original publisher: [Read original article](<https://dashbit.co/blog/building-a-new-mysql-adapter-for-ecto-part-iv-ecto-integration>)

Author: Wojtek Mach

Published: 2019-01-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dashbit Blog](<https://devfeed.tech/sources/dashbit-blog.md>)

Topics: [MySQL](<https://devfeed.tech/topics/mysql.md>), [Elixir](<https://devfeed.tech/topics/elixir.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Framework](<https://devfeed.tech/topics/framework.md>), [phoenix](<https://devfeed.tech/topics/phoenix.md>)

Tags: [adapter](<https://devfeed.tech/tags/adapter.md>), [ecto](<https://devfeed.tech/tags/ecto.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [integration](<https://devfeed.tech/tags/integration.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [myxql](<https://devfeed.tech/tags/myxql.md>), [sql](<https://devfeed.tech/tags/sql.md>)

## AI overview

The final installment of a series explains how to integrate a new MySQL adapter with Ecto, covering changesets, query composition, schemas, SQL sandbox testing, adapter specifications, and SQL error mapping.

## Source excerpt

In the final post of the series we add Ecto integration to leverage changesets, queries, SQL sandbox, and more.