Report found that the purchase button 500 test app, is found by looking at the log sql 'error "this is incompatible with sql_mode = only_full_group_by", version of the problem is found through Baidu
The original database migration to the reasons for the low configuration after 5.7 5.6.
Specific Solutions
Edit the file my.conf
In the mysqld adding the following
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Restart mysql perfect outrightly