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: 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
09/24/2022, 1:45 PM
What’s in your env file?
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.
09/27/2022, 3:58 PM
If you have made changes to the service file, you may need to run
and then restart the service
systemctl restart <service name>
09/27/2022, 5:13 PM
i fixed the problem by removing the file with same prefix. thx any way.