Ich versuche, eine Verbindung zu meiner Google Cloud SQL-Datenbank aus meinen Laravel-Dateien, die in Google App Engine sind, aber ich bekomme den Fehler im Screenshot unten gezeigt. Ich habe meinen Benutzernamen, mein Passwort und alle erforderlichen Details in meiner .yaml-Datei. Was könnte ich falsch machen?Verbinden von Laravel läuft auf Google Cloud App-Engine zu Google Cloud SQL-Datenbank
1
A
Antwort
0
Das Problem war mit meinem Hostnamen. Ich verwendete Localhost anstelle der IP meiner SQL-Instanz.
Verwandte Themen
- 1. Google Cloud Vision API auf PHP AppEngine
- 2. Google Cloud Endpoints mit Google Cloud-Funktionen
- 3. Appengine mit Google Cloud Endpoints und Guice
- 4. Google Cloud Storage-Authentifizierung
- 5. Appengine Cloud Endpoints mit neuer Google+ Anmeldung
- 6. WinSCP zu Google Cloud
- 7. Google Cloud Pub/Sub zu Datastax Cassandra (In Google Cloud)
- 8. Hochladen von Dateien in Google Cloud-Speicher von Appengine App
- 9. Python und Google Cloud-Speicher
- 10. So verbinden Sie Google Data Studio mit Google Cloud SQL
- 11. Wordpress auf Google Cloud Compute mit CloudSQL verbinden DB
- 12. Google Cloud Dataproc von Google Datalab
- 13. Google Cloud-Funktion: Unterstützung für Google Cloud KMS
- 14. Google Cloud Platform - Datenverteilung
- 15. Ajax zu Python auf Google Cloud
- 16. Google-Cloud-Messaging bereitstellen Motor
- 17. Google Cloud API Grammatik
- 18. Wie profitiert Google von Google Cloud Messaging?
- 19. Google Cloud Bigtable Instanz
- 20. Streaming-Videos von Google Cloud
- 21. Google Cloud Datastore vs Cloud SQL
- 22. Ich kann Google Cloud SDK auf Ubuntu
- 23. App Motor nicht zu Google Cloud SQL
- 24. Google Cloud node.js flexible Umgebung
- 25. Installieren von google-cloud-vision
- 26. Egit und Google Cloud
- 27. Google Cloud Datastore ORM
- 28. Google Cloud DNS-Zonendatei?
- 29. Google Cloud SQL-Zertifizierungsstellenzertifikat
- 30. Google Cloud flexible Abfrage