MySQL has a problem with [Err] 1055-Expression #1 of ORDER BY clause is not in GROUP BY clause
first step:
show variables like "sql_mode";
The second step:
set sql_mode='';
third step:
set sql_mode='NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES';