Hi fleet team, we have a fleet server just set up ...
# fleet
w
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
What’s in your env file?
w
i am not sure whether it is caused by env, i tried comment it out and it also not working.
m
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
i fixed the problem by removing the file with same prefix. thx any way.