{"id":7933,"date":"2018-11-14T11:16:32","date_gmt":"2018-11-14T13:16:32","guid":{"rendered":"http:\/\/blog.plataformatec.com.br\/?p=7933"},"modified":"2019-01-04T18:07:55","modified_gmt":"2019-01-04T20:07:55","slug":"building-a-new-mysql-adapter-for-ecto-part-i-hello-world","status":"publish","type":"post","link":"https:\/\/blog.plataformatec.com.br\/2018\/11\/building-a-new-mysql-adapter-for-ecto-part-i-hello-world\/","title":{"rendered":"Building a new MySQL adapter for Ecto, Part I: Hello World"},"content":{"rendered":"

As you may have seen in the announcement<\/a>, Plataformatec is working on a new MySQL driver called MyXQL.<\/p>\n

Writing a complete driver involves quite a bit of work. To name just a few things, we need to support: all protocol messages and data types, authentication schemes, connection options (TCP\/SSL\/UNIX domain socket), transactions and more. Rather than going through all of these in detail, I plan to distill this knowledge into 4 parts, each with a quick overview of a given area:<\/p>\n