Open Terminal, and create SSH keys for each accounts.
ssh-keygen -t ed25519 -C "[email protected]"
from google.cloud.sql.connector import Connector, IPTypes | |
import pytds | |
import os | |
##### SQL connecter ############################################# | |
################################################################# | |
# Grabbing the user and password from environment variables | |
db_name = os.getenv("APPLICATION_DB") |
-- Search default value constraints: | |
SELECT | |
obj.name | |
FROM | |
sys.objects AS obj | |
JOIN | |
sys.columns AS clm ON obj.object_id = clm.default_object_id | |
WHERE | |
obj.type = 'D' AND obj.parent_object_id = OBJECT_ID('User') AND clm.name = 'CompanyId'; | |
Open Terminal, and create SSH keys for each accounts.
ssh-keygen -t ed25519 -C "[email protected]"