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

为什么jdbc的url里面不需要添加localhost:3306也可以正常访问本地的数据库呢 #50

Open
ghost opened this issue Mar 1, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 1, 2020

这个url里面并没有标注localhost啊,为什么还能连接上本地服务器呢,而且写成localhost:3360/vueblog2就会报错
{91E87B9C-5225-459D-8AD1-76C3B6A3DCD0} png

@JimSunJing
Copy link

MySQL默认端口是3306不是3360,三个斜杠代表默认本地端口。

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

1 participant