@helginet It's a combination of the descriptive error which also contains a suggested fix (https://github.com/percona/percona-agent/blob/release/mysql/dsn.go#L44) coupled with the installer allowing you to retry.  So the experience is: user uses `localhost`, that fails to find socket, error is printed with suggested "fix", user can try again and either specify socket as suggested or do something else.