1

我一直在尝试使用https://github.com/dizzyd/erlang-mysql-driver安装 mysql 驱动程序

==> mysql (compile)
compile: warnings being treated as errors
src/mysql_auth.erl:178: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
src/mysql_auth.erl:179: crypto:sha/1 is deprecated and will be removed in in a future release; use crypto:hash/2
src/mysql_auth.erl:180: crypto:sha_final/1 is deprecated and will be removed in in a future release; use crypto:hash_final/2
src/mysql_auth.erl:181: crypto:sha_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3
src/mysql_auth.erl:182: crypto:sha_init/0 is deprecated and will be removed in in a future release; use crypto:hash_init/1
src/mysql_auth.erl:182: crypto:sha_update/2 is deprecated and will be removed in in a future release; use crypto:hash_update/3

我正在使用 Erlang 5.10.3。驱动程序是否有任何更新以支持 Erlang 5.10.3?

4

1 回答 1

2

您可以使用 ths fork https://github.com/manastech/erlang-mysql-driver

在 84274b52f5 中删除了已弃用的加密功能

于 2013-10-23T07:52:44.210 回答