MySQL 'Access denied for user' (error 1045): find which account the server matched and fix it
Read the user@host in the error, check which mysql.user row matches, and fix wrong passwords, host patterns, anonymous users, plugins, TLS rules and locked accounts.