How do I view the contents of my “default” type Cloud SQL database in AppMaker?












0















I created a new AppMaker app and selected the "default" (as opposed to "custom") Cloud SQL database backend.



While I'm prototyping my app, I'd like to be able to inspect the contents of my database periodically as an admin to debug issues. With a custom Cloud SQL database this is easy because you can acess a custom Cloud SQL database from the cloud console, but I don't see how to manually query a default Cloud SQL database.



I know that I can export my database to a Google Sheet, but that's inconvenient to do frequently.



How do I inspect the contents of my AppMaker default Cloud SQL database for debugging (eg. via a SQL command line, UI tool, etc)?










share|improve this question





























    0















    I created a new AppMaker app and selected the "default" (as opposed to "custom") Cloud SQL database backend.



    While I'm prototyping my app, I'd like to be able to inspect the contents of my database periodically as an admin to debug issues. With a custom Cloud SQL database this is easy because you can acess a custom Cloud SQL database from the cloud console, but I don't see how to manually query a default Cloud SQL database.



    I know that I can export my database to a Google Sheet, but that's inconvenient to do frequently.



    How do I inspect the contents of my AppMaker default Cloud SQL database for debugging (eg. via a SQL command line, UI tool, etc)?










    share|improve this question



























      0












      0








      0








      I created a new AppMaker app and selected the "default" (as opposed to "custom") Cloud SQL database backend.



      While I'm prototyping my app, I'd like to be able to inspect the contents of my database periodically as an admin to debug issues. With a custom Cloud SQL database this is easy because you can acess a custom Cloud SQL database from the cloud console, but I don't see how to manually query a default Cloud SQL database.



      I know that I can export my database to a Google Sheet, but that's inconvenient to do frequently.



      How do I inspect the contents of my AppMaker default Cloud SQL database for debugging (eg. via a SQL command line, UI tool, etc)?










      share|improve this question
















      I created a new AppMaker app and selected the "default" (as opposed to "custom") Cloud SQL database backend.



      While I'm prototyping my app, I'd like to be able to inspect the contents of my database periodically as an admin to debug issues. With a custom Cloud SQL database this is easy because you can acess a custom Cloud SQL database from the cloud console, but I don't see how to manually query a default Cloud SQL database.



      I know that I can export my database to a Google Sheet, but that's inconvenient to do frequently.



      How do I inspect the contents of my AppMaker default Cloud SQL database for debugging (eg. via a SQL command line, UI tool, etc)?







      appmaker






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 13 '18 at 21:09







      emmby

















      asked Nov 13 '18 at 20:17









      emmbyemmby

      64.7k55169231




      64.7k55169231
























          1 Answer
          1






          active

          oldest

          votes


















          1














          I believe it would be the same as with the custom one. The documentation explains:




          A G Suite administrator can set up a Google Cloud SQL instance that is shared among App Maker apps in an organization. When this is enabled, a new database is automatically created for your app when you add at least one Cloud SQL data model. Choose this option if your app needs a database that is easy to use and requires no set up.




          This means that you had set up correctly the instance information in the G Suite Admin console:



          enter image description here



          So to connect to your SQL instance, you just need to follow the instructions here. Then simply use the instance connection name where required. You will also need the database name and you can get that from the appsettings or deployment settings in appmaker.



          For the preview mode it will be in the app settings. For any deployed version, it will be in the deployment settings:



          enter image description here






          share|improve this answer
























          • Hm, I still can't seem to get this working for a default db created inside appmaker

            – emmby
            Nov 17 '18 at 0:18











          • Then edit your question and be more detailed with each step and method you are utilizing to do the connection. With more info, perhaps we should be able to help.

            – Morfinismo
            Nov 17 '18 at 0:26











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53288846%2fhow-do-i-view-the-contents-of-my-default-type-cloud-sql-database-in-appmaker%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          I believe it would be the same as with the custom one. The documentation explains:




          A G Suite administrator can set up a Google Cloud SQL instance that is shared among App Maker apps in an organization. When this is enabled, a new database is automatically created for your app when you add at least one Cloud SQL data model. Choose this option if your app needs a database that is easy to use and requires no set up.




          This means that you had set up correctly the instance information in the G Suite Admin console:



          enter image description here



          So to connect to your SQL instance, you just need to follow the instructions here. Then simply use the instance connection name where required. You will also need the database name and you can get that from the appsettings or deployment settings in appmaker.



          For the preview mode it will be in the app settings. For any deployed version, it will be in the deployment settings:



          enter image description here






          share|improve this answer
























          • Hm, I still can't seem to get this working for a default db created inside appmaker

            – emmby
            Nov 17 '18 at 0:18











          • Then edit your question and be more detailed with each step and method you are utilizing to do the connection. With more info, perhaps we should be able to help.

            – Morfinismo
            Nov 17 '18 at 0:26
















          1














          I believe it would be the same as with the custom one. The documentation explains:




          A G Suite administrator can set up a Google Cloud SQL instance that is shared among App Maker apps in an organization. When this is enabled, a new database is automatically created for your app when you add at least one Cloud SQL data model. Choose this option if your app needs a database that is easy to use and requires no set up.




          This means that you had set up correctly the instance information in the G Suite Admin console:



          enter image description here



          So to connect to your SQL instance, you just need to follow the instructions here. Then simply use the instance connection name where required. You will also need the database name and you can get that from the appsettings or deployment settings in appmaker.



          For the preview mode it will be in the app settings. For any deployed version, it will be in the deployment settings:



          enter image description here






          share|improve this answer
























          • Hm, I still can't seem to get this working for a default db created inside appmaker

            – emmby
            Nov 17 '18 at 0:18











          • Then edit your question and be more detailed with each step and method you are utilizing to do the connection. With more info, perhaps we should be able to help.

            – Morfinismo
            Nov 17 '18 at 0:26














          1












          1








          1







          I believe it would be the same as with the custom one. The documentation explains:




          A G Suite administrator can set up a Google Cloud SQL instance that is shared among App Maker apps in an organization. When this is enabled, a new database is automatically created for your app when you add at least one Cloud SQL data model. Choose this option if your app needs a database that is easy to use and requires no set up.




          This means that you had set up correctly the instance information in the G Suite Admin console:



          enter image description here



          So to connect to your SQL instance, you just need to follow the instructions here. Then simply use the instance connection name where required. You will also need the database name and you can get that from the appsettings or deployment settings in appmaker.



          For the preview mode it will be in the app settings. For any deployed version, it will be in the deployment settings:



          enter image description here






          share|improve this answer













          I believe it would be the same as with the custom one. The documentation explains:




          A G Suite administrator can set up a Google Cloud SQL instance that is shared among App Maker apps in an organization. When this is enabled, a new database is automatically created for your app when you add at least one Cloud SQL data model. Choose this option if your app needs a database that is easy to use and requires no set up.




          This means that you had set up correctly the instance information in the G Suite Admin console:



          enter image description here



          So to connect to your SQL instance, you just need to follow the instructions here. Then simply use the instance connection name where required. You will also need the database name and you can get that from the appsettings or deployment settings in appmaker.



          For the preview mode it will be in the app settings. For any deployed version, it will be in the deployment settings:



          enter image description here







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 14 '18 at 14:05









          MorfinismoMorfinismo

          2,2381618




          2,2381618













          • Hm, I still can't seem to get this working for a default db created inside appmaker

            – emmby
            Nov 17 '18 at 0:18











          • Then edit your question and be more detailed with each step and method you are utilizing to do the connection. With more info, perhaps we should be able to help.

            – Morfinismo
            Nov 17 '18 at 0:26



















          • Hm, I still can't seem to get this working for a default db created inside appmaker

            – emmby
            Nov 17 '18 at 0:18











          • Then edit your question and be more detailed with each step and method you are utilizing to do the connection. With more info, perhaps we should be able to help.

            – Morfinismo
            Nov 17 '18 at 0:26

















          Hm, I still can't seem to get this working for a default db created inside appmaker

          – emmby
          Nov 17 '18 at 0:18





          Hm, I still can't seem to get this working for a default db created inside appmaker

          – emmby
          Nov 17 '18 at 0:18













          Then edit your question and be more detailed with each step and method you are utilizing to do the connection. With more info, perhaps we should be able to help.

          – Morfinismo
          Nov 17 '18 at 0:26





          Then edit your question and be more detailed with each step and method you are utilizing to do the connection. With more info, perhaps we should be able to help.

          – Morfinismo
          Nov 17 '18 at 0:26


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53288846%2fhow-do-i-view-the-contents-of-my-default-type-cloud-sql-database-in-appmaker%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Bressuire

          Vorschmack

          Quarantine