我一直试图使用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的驱动程序更新?
1 回答
你可以用叉子https://github.com/manastech/erlang-mysql-driver
在84274b52f5中删除了不推荐使用的加密函数