502 Bad Gateway after strapi switch database

solved. The problem is, DATABASE_USERNAME, i input new created mysql user for it. i changed to root, everythings work.