瀏覽代碼

fix: use native mysql password as default auth

fixes connection refused errors described here: 
https://github.com/laradock/laradock/issues/1752
https://github.com/laradock/laradock/issues/2105
metalcamp 5 年之前
父節點
當前提交
8f411417f5
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mysql/my.cnf

+ 1 - 0
mysql/my.cnf

@@ -8,3 +8,4 @@
 [mysqld]
 sql-mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"
 character-set-server=utf8
+default-authentication-plugin=mysql_native_password