https://github.com/osquery/osquery logo
#fleet
Title
# fleet
w

wennan.he

09/24/2022, 12:07 AM
Hi fleet team, we have a fleet server just set up a new db but we got this err when we start fleet service: Sep 23 235302 n121-011-134 fleet[2423897]: ts=2022-09-23T235302.009530884Z mysql="could not connect to db: dial tcp 127.0.0.13306 connect: connection refused, sleeping 7s" but in our fleet.service cfg file, we had a different db
s

Shawn Maddock

09/24/2022, 1:45 PM
What’s in your env file?
w

wennan.he

09/26/2022, 5:18 PM
i am not sure whether it is caused by env, i tried comment it out and it also not working.
m

Michal Nicpon

09/27/2022, 3:58 PM
If you have made changes to the service file, you may need to run
Copy code
systemctl daemon-reload
and then restart the service
Copy code
systemctl restart <service name>
w

wennan.he

09/27/2022, 5:13 PM
i fixed the problem by removing the file with same prefix. thx any way.