google-cloud-sql

Using Google Cloud SQL with App Engine [closed]

人盡茶涼 提交于 2019-12-07 04:27:26
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I've searched through the suggested topics to find the answer to this question, but I got nothing. I'm doing a project at school which I would really like if I could get up and running with Cloud SQL and AppEngine. I'm on the "Using Google Cloud SQL with App Engine" at the moment, and it's stated in that guide that your SQL must be located in the same region (Eu/US) as your AppEngine application. I've looked

Django on GoogleAppEngine: performance howto

ε祈祈猫儿з 提交于 2019-12-07 03:56:28
问题 I asked this question a few weeks ago. Today I have actually written and released a standard Django application, i.e. a fully-functional relational DB-backed (and consequently fully-functional Django admin) enabled by Google CloudSQL. The only time I had to deviate from doing things the standard Django way was to send email (had to do it the GAE way). My setup is GAE 1.6.4 , Python2.7 , Django 1.3 using the following in app.yaml : libraries: - name: django version: "1.3" However I do need you

Docker build failing when using gcsfuse to mount google storage

牧云@^-^@ 提交于 2019-12-07 03:28:46
问题 I have been trying to mount SQL and a storage bucket to my docker WordPress container. It appears to succeeding in mounting SQL, but failing mounting the bucket. The instance is based of of this post. I have attached the Docker file and error below, as well as my build command. Build command: docker build -t ic/spm . Dockerfile: FROM wordpress MAINTAINER Gareth Williams <gareth@itinerateconsulting.com> # Move login creds locally ADD ./creds.json /creds.json # install sudo, wget and gcsfuse

Spring Boot application in Google App Engine can't connect to Cloud SQL

岁酱吖の 提交于 2019-12-07 01:19:54
问题 I'm not sure what else I'm missing here, but my application is failing on start with: Message : The connection attempt failed. at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:60) ~[flyway-core-5.2.4.jar!/:na] at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:72) ~[flyway-core-5.2.4.jar!/:na] at org.flywaydb.core.Flyway.execute(Flyway.java:1670) ~[flyway-core-5.2.4.jar!/:na] at org.flywaydb.core.Flyway.migrate(Flyway.java:1356

Configure Google Cloud SQL instance in Eclipse

冷暖自知 提交于 2019-12-07 00:16:41
The name of my instance is domain.com:my_project:xyz So i actually completed the form like this : But i got the following error : Any ideas? Thank you so much! I just created it like 20 mins ago may be i need to wait but i doubt that it is the problem. The instance name is "domain.com:my_project:xyz", not just "xyz". 来源: https://stackoverflow.com/questions/12681972/configure-google-cloud-sql-instance-in-eclipse

Doctrine not finding data on Google App Engine?

孤人 提交于 2019-12-06 20:14:37
问题 When I do a simple query, like finding all users, it returns an empty array. $users = $em->getRepository('MyApp\\Model\\Entity\\User')->findAll(); However, when I connect to my database manually, using PDO, it finds the data. I am using the ArrayCache method, to make sure it has nothing to do with GAE not having a filesystem. The GAE docs say you can use sys_get_temp_dir() , so I don't think it's my proxies. I'm at a loss for why Doctrine is returning nothing and not throwing any errors as

Google cloud sql instance super privilege error

元气小坏坏 提交于 2019-12-06 19:43:31
问题 I am very new in Google app engine please help me to solve my problem I have created one instance in Google cloud sql when I import SQL file then it shows me error like this. ERROR 1227 (42000) at line 1088: Access denied; you need (at least one of) the SUPER privilege(s) for this operation How do I to add super privilege to my instance. 回答1: As stated at the Cloud SQL documentation: The SUPER privilege is not supported. You can take a look at this page that explains how to import data to a

Problems installing Cloud SQL Proxy on Windows 64-bit

☆樱花仙子☆ 提交于 2019-12-06 16:40:47
I'm trying to install Cloud SQL Proxy for Google Cloud Platform on my Windows 10 64 bit OS, so I can use Python scripts to dump data into SQL. I'm following this guide to get it set up. I created a project and a Google Cloud SQL instance from the Console without any issues, and it shows up in the SDK shell without any problems. After downloading the proxy installer and installing it, a dialog window opens up and then closes before I can read it. When I go to the Google Cloud SDK shell and try to start the Cloud SQL Proxy with: cloud_sql_proxy.exe -instances="[MyInstanceConnectionName]"=tcp

Connect a Google CloudSQL Postgres database to Data Studio

你说的曾经没有我的故事 提交于 2019-12-06 16:27:42
I am trying to connect a Postgres database hosted in a google Cloud Sql instance to Data Studio. I have followed the instructions (found here https://support.google.com/datastudio/answer/7288010 ) but to my disappointment, I still cannot connect to the database from Data Studio. I think the problem lies with the SSL connection, as if I enable "non-secure connections" in the options in CloudSql I can successfully connect from Data Studio. I have created the 3 files required for the ssl connection to work: Client certificate Client key Server certificate I have uploaded them in the relevant

What is the correct way to enable query cache?

本小妞迷上赌 提交于 2019-12-06 16:14:02
Based on the documentation , the super privilege is not supported, which means that the following query: SET GLOBAL query_cache_size = 1000000; results in an error message Access denied; you need (at least one of) the SUPER privilege(s) for this operation and does not allow us to set the query cache size. What's the correct way to accomplish the task? Unfortunately, Cloud SQL does not support query caching and query_cache_size cannot be set. If you are experiencing performance issues, you can try changing your instance tier to give your instance access to more resources. Also, it is preferable