if db == "postgresql":
            connection = "postgresql+psycopg2://" + name + ":" \
                          + password + "@" + ip + ":" + port