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

use default port if host does not have port #668

Closed
bgaifullin opened this issue Sep 19, 2017 · 0 comments
Closed

use default port if host does not have port #668

bgaifullin opened this issue Sep 19, 2017 · 0 comments

Comments

@bgaifullin
Copy link
Contributor

If I do not specify port in DSN, connection fails with error:
failed: dial tcp: address localhost: missing port in address

Expected behaviour:
driver will connect by using default port: 3306

Configuration

Driver version (or git SHA):
sha:3955978caca48c1658a4bb7a9c6a0f084e326af3

Go version: run go version in your console
go version go1.9 darwin/amd64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants