pgtoolkit.conf.example
changeset 104 d8ff52a0390f
parent 103 24e94a3da209
child 105 10551741f61f
equal deleted inserted replaced
103:24e94a3da209 104:d8ff52a0390f
     1 ### named connections
       
     2 databases = {
       
     3   # database for tests.py (postgres, mysql - remove one of the lines to skip particular tests)
       
     4   'test' : 'host=127.0.0.1 dbname=test user=test password=test',
       
     5   'test_mysql' : 'host=127.0.0.1 db=test user=test password=test',
       
     6 }
       
     7 
       
     8 ### meta database (contains connection parameters for other databases)
       
     9 meta_db = 'host=10.8.0.1 dbname=central'
       
    10 # query for connection parameters, input is database name (will be placed instead of %s)
       
    11 meta_query = '''SELECT host, port, dbname, user, password FROM config.databases WHERE name = %s LIMIT 1'''