2018年1月25日更新:
添加了一个实际的修复程序来检查,并在添加访问主机时明确设置空白的authentication_string值。
https://www.directadmin.com/features.php?id=2083
old
在设置主机时,DA没有为authentication_string指定值的MariaDB 10.2.x中的设计更改。
它可能会抛出这个错误:
Error inserting host: Field 'authentication_string' doesn't have a default value
作为一种解决方法,我们可以使用以下调用SQL命令来设置默认值:ALTER TABLE mysql.user ALTER authentication_string SET DEFAULT '';
在phpMyAdmin中以da_admin或root用户身份运行该sql。
不要将它与MySQL 5.7混淆,它使用authentication_string完全替换密码列。
为此,你要DA使用mysql_milestone_16 = 1











