connect to mysql
Hello,
1. I created an account in you'r site.
2. I created google engine project and in the project i open connection to the MYsql Connection
when i run it locally in my computer it worked very good, but when i run in google engine i get this error:
b9ccf90a-7635-4fad-a914-a60e0100f8c6.mysql.sequelizer.comConnection failed: php_network_getaddresses: gethostbyname failed. errno=0.
can you please help me,
Thank you,
Osnat dafrush.
Discussions are closed to public comments.
If you need help with AppHarbor please
start a new discussion.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
Support Staff 1 Posted by rune on 23 May, 2016 06:49 AM
Hi Osnat,
I'm not sure what the issue might be, particularly since it's working when you run your app locally. I'd recommend you to reach out to the Google App Engine folks to hear what the issue might be as it sounds like it's somehow related to their platform -- perhaps the app needs to have DNS configured differently, or outbound traffic allowed on the relevant ports.
Best,
Rune
2 Posted by Osnat Dafrush on 23 May, 2016 06:30 PM
Hello and thank you for the reply,
Can you give me the DNS name instead of the name that was created?
Thank you again
Osnat dafrush.
בתאריך 23 במאי 2016 09:50, "rune" <[email blocked]> כתב:
Support Staff 3 Posted by rune on 24 May, 2016 12:11 AM
Hi Osnat,
What would you like me to provide? The URL you mentioned initially is the DNS name (a CNAME) to your application's database server.
Best,
Rune
4 Posted by Osnat Dafrush on 24 May, 2016 04:00 PM
Hello Rune,
Sorry for my english :)
I tried to ping the hostname and there was no reply.
Maby i am doing wrong...
Do you have any suggest for me?
Best regards,
Osnat.
בתאריך 24 במאי 2016 03:11, "rune" <[email blocked]> כתב:
Support Staff 5 Posted by rune on 25 May, 2016 04:12 AM
Hi Osnat,
The database server doesn't respond to ICMP requests (which
pingrelies on) so that's the reason there's no reply :-)It was my understanding that you're able to connect to the database server when running your application locally -- did I misunderstand that? If I didn't, why are you trying to ping the instance?
Best,
Rune