I want to make an app with App Maker with a model based in Google Cloud SQL, I have read that I have to create the instance in the first generation in the us- central, but when I try to create it, I have the following error: "The apps GAE authorized must be in the same region than the database instance" SO I can´t create the instance, what can I do?
Connect my app to a Google Cloud SQL
410 Views Asked by Marga Rosado At
1
There are 1 best solutions below
Related Questions in GOOGLE-CLOUD-SQL
- CloudSQL SSL connection error
- Cannot access google cloud SQL from google container engine
- Google Cloud SQL - LOAD DATA LOCAL INFILE
- Cloud Endpoints with Cloud SQL sample code
- Creating dynamic Prepared Statements to insert into database
- How to connect to Cloud SQL instance using nodejs and pem keyfile
- Error in connecting to cloudsql using python
- com.google.cloud.sql.jdbc.internal.ClientSideClob causes 500 error, apps are unusable
- Error 1045: access denied while Setting up PHPMyAdmin in Google Compute Engine using Google Cloud SQL
- Connecting nodejs to google cloud SQL
- Doctrine not finding data on Google App Engine?
- Can not ping google cloud sql
- java.lang.NullPointerException connecting to Cloud SQL
- Google's Cloud MySQL shuts down after 15 minutes. Why?
- DatabaseError Table doesn't exist for Django and Google Cloud SQL
Related Questions in GOOGLE-APP-MAKER
- What's the easiest way to prevent closing a dialog if the input validation false
- Displaying server side validation errors
- Can I retrieve GPS location in App Maker
- Connect my app to a Google Cloud SQL
- Deploying AppMaker app on multiple domains
- How to express "or" in a model Query?
- How to access page fragment custom properties programmatically?
- Have an extra required error validation I can't figure out where it comes from...can't submit
- Google App maker debugging
- How to create a rest api in app maker?
- Google App maker Drive picker
- Google App maker grouping in list view
- Google App maker drive picker attachments
- Google App maker list view filtering
- Google App maker multiple files drive upload
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I was able to replicate the error which is caused whenever you select: Show advanced options > [Preferred location] > Follow App Engine app > App Engine application ID
Currently you can override this by selecting “No Preference” instead of “Follow App Engine app” under the [Preferred location] option and you should not get the error.
Note that the “Preferred location” setting is used to store your data close to Compute Engine or App Engine services hosted within a particular region. As per this Article https://cloud.google.com/sql/faq#location if you are connecting to a First Generation instance, your App Engine application must be in the same region as your Cloud SQLinstance and this is the reason why are getting the error. It seems you need to use us-central since App Maker is hosted in this region. AFAIK, I don’t think there is any other workaround for 1st gen instances.
Base on the above, I believe the region restriction does not apply to 2nd generation instances which are going to be supported/available for App Maker in the future. I just tried connecting App Maker to a 2nd Generation instance and I was able to connect successfully!!!! There is no official update yet regarding the 2nd Generation for App Maker but it seems that its is now being implemented and working. Let me know if you are still having trouble connecting to a 1st or 2nd generation instance and I can create a quick guide and share it to you. Hope this helps.