You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I am trying to complete the node.js CloudSQL bookshelf tutorial on my Mac.
I have enabled the APIs, set up my project and created a first generation sql instance.
I have configured the instance as specified in the tutorial -
Named my database "library"
Allow all network access (0.0.0.0/0)
Requested ipv4
Created a user
I have also set up my config.json file with these variables -
{
"GCLOUD_PROJECT": "[MY_ID]",
"DATA_BACKEND": "cloudsql",
"MYSQL_USER": "nodejsapp",
"MYSQL_PASSWORD": "[MY_PASSWORD]",
"MYSQL_HOST": "[YOUR_MYSQL_HOST]" example 176.197.82.75
}
When I run the script it throws an error - Error: connect ETIMEDOUT, with more output.
I am guessing that this is due to blocked access as I have also tried pinging the server and it sends request timeout.
I also tried gcloud beta sql connect and that did not connect as well, although it said that it is temporary whitelisting my IP which appeared in Console.
Please help!
The text was updated successfully, but these errors were encountered:
Hello!
I am trying to complete the node.js CloudSQL bookshelf tutorial on my Mac.
I have enabled the APIs, set up my project and created a first generation sql instance.
I have configured the instance as specified in the tutorial -
Named my database "library"
Allow all network access (0.0.0.0/0)
Requested ipv4
Created a user
I have also set up my config.json file with these variables -
{
"GCLOUD_PROJECT": "[MY_ID]",
"DATA_BACKEND": "cloudsql",
"MYSQL_USER": "nodejsapp",
"MYSQL_PASSWORD": "[MY_PASSWORD]",
"MYSQL_HOST": "[YOUR_MYSQL_HOST]" example 176.197.82.75
}
When I run the script it throws an error - Error: connect ETIMEDOUT, with more output.
I am guessing that this is due to blocked access as I have also tried pinging the server and it sends request timeout.
I also tried gcloud beta sql connect and that did not connect as well, although it said that it is temporary whitelisting my IP which appeared in Console.
Please help!
The text was updated successfully, but these errors were encountered: