ErlyORM / boss_db

BossDB: a sharded, caching, pooling, evented ORM for Erlang
Other
277 stars 138 forks source link

MySQL 8 compatability using driver mysql-otp #286

Open mobilemindtec opened 2 years ago

mobilemindtec commented 2 years ago

Hello,

I changed my fork to work with mysql 8. I'm not sure if it works 100% with all the framework's features, but if you're interested it might be a start, I'm not a big erlang programmer.

I used the driver https://github.com/mysql-otp/mysql-otp.git

New adapter:

https://github.com/mobilemindtec/boss_db/blob/master/src/db_adapters/boss_db_adapter_mysql.erl

Test new adapter

https://github.com/mobilemindtec/boss_db/blob/master/test/boss_db_mysql8_adapter_test.erl

Espero que possa ajudar alguém!