freeciv/freeciv-web

ENCRYPT has been removed from MySQL 8

andreasrosdal opened this issue · 5 comments

@cazfi We need help with fixing this. 😊

cazfi commented

Does MariaDB still have it? Would it be an option to always use MariaDB instead of MySQL, even in distributions where also latter is present?

Yes, MariaDB still has ENCRYPT():
https://mariadb.com/kb/en/encrypt/
So we could use MariaDB.

ENCRYPT() has been removed from MySQL:
https://dev.mysql.com/doc/refman/5.7/en/encryption-functions.html#function_encrypt

MySQL recommends using SHA2() instead.