Title
#kolide
d

demonbhao

10/30/2020, 9:38 AM
Hello。Such an error occurred when Upgrading Fleet, indicating that the connection was rejected, but It was normal for me to link to the database
sundsta

sundsta

10/30/2020, 3:16 PM
It’s trying to connect to localhost. You need to pass it the same MySQL connection variables as when you run
fleet serve
3:17 PM
Also, I can read the “blurred” secrets in your screenshot, so hopefully those aren’t production…
d

demonbhao

11/04/2020, 1:58 AM
Yes, this is our production environment... Then I should have used./ fleet preapre db --mysql_address = XXX :3306 \ --mysql_database = XXX \ --mysql_username = XXX \ --mysql_password = XXX?