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

ERROR 1130 Host '127.3.118.3' is not allowed to connect to this MySQL server #7

Open
JanSichula opened this issue Aug 22, 2017 · 1 comment

Comments

@JanSichula
Copy link

Hello,

I have tried to follow instructions but when I try to connect to mysql, it results in following error:

Host '127.3.118.3' is not allowed to connect to this MySQL server

Yet respective environment variables seems to be just right:

OPENSHIFT_MYSQL_DB_PORT=13306
OPENSHIFT_MYSQL_DB_HOST=127.3.118.3

@JanSichula
Copy link
Author

JanSichula commented Aug 22, 2017

Seems I have made it to work by adding "-h localhost" on CLI. That is:

mysql -u root -h localhost --socket=${TMP}mysql.sock

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