diff --git a/aws.config b/aws.config new file mode 100644 index 0000000000000..f946de176fc76 --- /dev/null +++ b/aws.config @@ -0,0 +1,2 @@ +key=AKIAXNGUVSSDVGJVNUJV +youcantseeit=Pcyxn8BPHErQ4Idp1/AXHKmBin9RlD+RypEhSYoJ diff --git a/python_conn b/python_conn new file mode 100644 index 0000000000000..b8bd5a93c1d71 --- /dev/null +++ b/python_conn @@ -0,0 +1,5 @@ +import psycopg2 + +conn = psycopg2.connect(host="database-1.c786gicssv1r.us-east-1.rds.amazonaws.com", port="5432", user="postgres", password="40QxPyn4ARlB3zOhwTD6", dbname="postgres") +print("Connected successfully!") +conn.close() diff --git a/python_conn_twisted.py b/python_conn_twisted.py new file mode 100644 index 0000000000000..d84776c9083f3 --- /dev/null +++ b/python_conn_twisted.py @@ -0,0 +1,15 @@ +import psycopg2 + +# Define connection parameters +DB_CONFIG = { + "host": "database-1.c786gicssv1r.us-east-1.rds.amazonaws.com", + "port": "5432", + "user": "postgres", + "password": "40QxPyn4ARlB3zOhwTD6", + "dbname": "postgres" +} + +# Establish connection +conn = psycopg2.connect(**DB_CONFIG) +print("Connected successfully!") +conn.close()