I think doing this could work(haven’t tried).
/etc/systemd/system/k3s.service
And here
ExecStart=/usr/local/bin/k3s \
server \
'--write-kubeconfig-mode' \
'666' \
add
--datastore-endpoint="mysql://username:password#@tcp(192.168.1.71:3306)/K3S
This there in new line. But I am not sure if this would work. Any guidance?