Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer: automatic detection of default database host #12646

Open
florianjacob opened this issue Mar 25, 2018 · 0 comments
Open

installer: automatic detection of default database host #12646

florianjacob opened this issue Mar 25, 2018 · 0 comments
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@florianjacob
Copy link
Contributor

Currently, the installer defaults to database host 127.0.0.1, which means a local TCPv4 database.
There are other local ways of connection, though: The server could be reachable via TCPv6 only, and, more importantly, via unix socket using the special value localhost. Connecting via unix socket is the only way of connection where Unix Socket Authentication works. So to use that, the user currently has to change from 127.0.0.1 to localhost - which seems very unintuitive.

Proposal: Have the installer try local database servers, first localhost, then ::1, then 127.0.0.1 and fill in the first thing that works as default for the database hostname field.

Related: #12584 and #1642

@Findus23 Findus23 added c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels May 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Onboarding For issues that make the experience of getting Matomo up and running better. c: Usability For issues that let users achieve a defined goal more effectively or efficiently. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants