dongmiao520892 2017-12-22 06:32
浏览 23

在Google App Engine(弹性环境)中部署GO代码时出现Mysql连接问题

I am facing Mysql Connection issue , while migrating my code from Standard Environment to the Flexible Environment ( Google App Engine) .

I have even tried following : https://cloud.google.com/appengine/docs/flexible/go/using-cloud-sql

Stackoverflow link : Connecting to CloudSQL from App Engine (Second Generation CloudSQL) GO

But still not able to solve the issue . My case is :

I have even tried deploying the code given in above stackoverflow link (with my Cloud Sql) to test if it works . But in every case I am getting an error saying :

dial unix /cloudsql/butter-142812:us-central1:test: connect: no such file or directory

Where for me dbInstanceName  = butter-142812:us-central1:test

But everytime I am hitting the same problem . Can you please point out if I am missing something ?

I trying to deploy my app on Flexible Environment .

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
    • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
    • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
    • ¥15 如何在炒股软件中,爬到我想看的日k线
    • ¥15 seatunnel 怎么配置Elasticsearch
    • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
    • ¥15 (标签-MATLAB|关键词-多址)
    • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
    • ¥500 52810做蓝牙接受端
    • ¥15 基于PLC的三轴机械手程序