Skip to content
Snippets Groups Projects
Commit 4867ce42 authored by Jan Müller's avatar Jan Müller
Browse files

Change DB password

parent 159a8ef2
No related branches found
No related tags found
1 merge request!5Feature/remove postgres from docker compose
...@@ -22,7 +22,7 @@ def main(): ...@@ -22,7 +22,7 @@ def main():
time.sleep(5) time.sleep(5)
# get simulation nodes # get simulation nodes
con = ConnectToDatabase('postgres', 'docker', 5432) con = ConnectToDatabase('postgres', 'postgres', 5432)
cur = con.cursor() cur = con.cursor()
# NEST # NEST
cur.execute("SELECT address FROM nest_simulation_node") cur.execute("SELECT address FROM nest_simulation_node")
......
...@@ -16,7 +16,7 @@ import numpy as np ...@@ -16,7 +16,7 @@ import numpy as np
def connect_to_database(): def connect_to_database():
return psycopg2.connect(database="postgres", user="postgres", return psycopg2.connect(database="postgres", user="postgres",
password="docker", host="database", port="5432") password="postgres", host="database", port="5432")
def arbor_get_attributes(): # noqa: E501 def arbor_get_attributes(): # noqa: E501
......
...@@ -16,7 +16,7 @@ import numpy as np ...@@ -16,7 +16,7 @@ import numpy as np
def connect_to_database(): def connect_to_database():
return psycopg2.connect(database="postgres", user="postgres", return psycopg2.connect(database="postgres", user="postgres",
password="docker", host="database", port="5432") password="postgres", host="database", port="5432")
def nest_get_gids(): # noqa: E501 def nest_get_gids(): # noqa: E501
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment