What is my App Maker database key/name for published apps - google-cloud-platform

Context
The Database Key for the preview version of an App Maker app can be found in SETTINGS>DATABASE as the Database Key. In GCP, App Maker uses a SQL instance, and within that instance many Databases are listed - including the Database Key/Name from the App Maker preview.
By default, when publishing an App Maker app, a new Database within the MySQL instance is created.
Question
How do I find the Database Key/Name that the newly published app is using?

You need to go to the deployments settings and click on the EDIT option. Then you should be able to retrieve the database key. Here, for your reference:
This is documented right here: https://developers.google.com/appmaker/deployment/#databases

Related

How to update db setting in django at runtime?

To be more specific, I want to retrieve db setting from a config server when django project starts, and use it to setup django db connection
Someday in the future, the setting in the config server may be changed (for example, change the user password) and pushed to django project then reset the db connection, so I can use new setting without restarting django project or updating project code
Is there a way to do that?
Or what's the right way to hide the db sensitive information (password, etc) from django project code?
Any helps will be grateful, thanks~

how to create a domain for CustomUserStoreManager?

I have created a CustomUserStoreManager and deployed as per the doc https://is.docs.wso2.com/en/next/setup/writing-a-custom-user-store-manager/
I am not able to see any errors nor the CustomeUserStoreManager in
the DropDown as said in the doc.
I need to map the CustomerStoreManager to a user store properties like a table, query, DB properties for each customeruserstore, how to do that? where to do the config for the same.
I am using WSO2 IS 5.9

Wso2 Userstore migration from LDAP to DB (Custom user store)

We are using WSO2 identity server with LDAP as a user store. Now we would like to replace LDAP with database because of huge load (> 10 Millions) and growing. I have migrated the users but how tenant details in wso2 core database could be set with the new user store. That is the user store xml details are stored in their tenant table. How this could be migrated. Or what are all the changes, configurations, needs to be set in wso2 identity server level.
At the moment we don't have exact mechanism to migrate data from one DB type to another. What we have is upgrading one version to another using same DB.
But you can do this migrating data from an LDAP to any DB like MySQL manually. If you can write an shell script to convert LDAP data toa csv file, its easy for you to move to a MySQL like DB in one import command.
Furthermore, I was able to find out some similar articles which can help you to migrate content from LDAP to MySQL [2],[3],[4]
The table structures of DB types can be found from [1].
Once you migrate the data to JDBC, you can change the custom-userstore.xml file with new connection values and restart the server. If you changed your primary user store, you need to change the user store configurations in user-mgt.xml file.
Please let me know if you need further help in migrating.
[1]https://docs.wso2.com/display/IS550/Data+Dictionary
[2] https://social.msdn.microsoft.com/Forums/sqlserver/en-US/dfae020f-a3bf-4e9b-9614-eccf7890f8c6/how-to-extract-data-from-ldap-and-then-import-it-into-sql-database-for-quicker-retrieval?forum=transactsql
[3]Active Directory data into SQL table
[4] https://www.egnyte.com/blog/2014/01/how-we-migrated-millions-of-users-from-ldap-to-mysql-using-feature-flags/

Django: Saving oauth provider data

I set up a simple django site using django-allauth.
I created some oauth providers in the database.
Everything is fine and working on my laptop now.
I would like to store the created database tables somehow.
Use case: I want to set up a new development environments on a different PC painlessly.
How to store the initial data of django_allauth, so that after checking out the app from git the command manage.py migrate is all I need to have the relevant database tables filled?
Django_allauth already save those data to the database, you will find them in a table *_SocialApp, here is the model code from django_auth source

MS Access (2010) Enable Design View

I downloaded the Access template below for doing a home inventory:
http://office.microsoft.com/en-us/templates/results.aspx?qu=home%20inventory&ex=1&queryid=0d245f2a%2Dacdc%2D4161%2D92c8%2D8ba16a52ab32&AxInstalled=1&c=0#ai:TC101918100|
The design view is not visible, which is a bit of a nuisance.
Things I've tried:
1) In options/options/current database/ the check boxes (enable layout view & enable design changes for tables in Datasheet view) are both greyed out.
2) I've unblocked the file using Right-Click->Properties.
3) I've tried copying/exporting the objects to another database. But can only copy/export the tables.
4) I've tried holding shift when opening the DB.
5) Enabling all trust permissions etc.
None of these work
Does anybody have any suggestions. (I'm using Office 2010)
Thanks
I know this is an old thread, but just in case someone is still looking for an answer, this worked for me. I converted the Projects Web Database.
The process is as follows:
Create a blank "client" accdb database.
Import all web tables, client forms, client reports from the template web database into the blank client accdb database.
Close the client database and open the template web database.
(Now, you must individually create a client object from each web object. This can be a bit tedious.)
Highlight the web object (a web form, for example) that you want to create a corresponding client object. Click the File Tab, then Save & Publish, then Save Object As, and finally click the Save As Client Object button. Give the Client Object a different name than the web object (add Client to the end of the name, for example).
You will need to repeat these steps for each web query, web form, web report, and web macro in the template web database.
Once every web object has a corresponding client object in the template web database, open up the "client" database and import all client objects that you just created. Rename the objects to their original names (remove the word "client" if you took my suggestion above).
Now you should have a working template database that you can change to you liking.
Home inventory is set up as web forms and these do not have the same design view as the "normal" Access forms.
Albert Kallal says:
Unfortunately , there is no conversion utility.
However, you can use those web forms with VBA or so called Access
client forms.
Solution:
create a new blank database
import all of the tables, queries, reports, macros, etc using the import wizard