mysql 8.0.11,drupal 8+,nginx work together

Submitted by rootmaster on Fri, 06/08/2018 - 16:00

mysql setup:

CREATE USER drupalDBuser@localhost
alter user 'drupalDBuser'@'localhost' identified with mysql_native_password by 'password'

need  mysql_native_password  plugin because php didn't know new mysql_native_password method.

drupal 8: see refer page here. need manually modify the source code.

nginx: need build with --with-pcre= option to enable ngx_http_rewrite_module. And the properly config file can be found here.

upload error:An AJAX HTTP error occurred. here