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

数据源的问题 #42

Open
taozhiqi opened this issue Dec 10, 2014 · 2 comments
Open

数据源的问题 #42

taozhiqi opened this issue Dec 10, 2014 · 2 comments

Comments

@taozhiqi
Copy link

我在定义datasources的时候在本机的时候用127.0.0.1:3306就行,但是如果使用ip地址192.168.1.55的时候,查看那个输入文件总是显示连接被拒绝(密码和用户都是对的,端口还是3306),两个多小时了,实在没办法了,这是什么情况??

@hyace
Copy link

hyace commented Dec 11, 2014

你确定你的mysql设置了远程连接么?127.0.0.1是本地访问,不受限制。你可以用命令行试一下能不能用ip远程连接。

@hexianmao
Copy link
Member

这个你需要在mysql上设置,允许除本地外的其他ip访问啊,包括本地的非localhost/127.0.0.1的ip。

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

3 participants