2
0
mirror of https://github.com/WikiTeam/wikiteam synced 2024-11-12 07:12:41 +00:00

Update host

This commit is contained in:
David Abián 2016-03-26 15:43:42 +01:00
parent f43b7389a0
commit 98353d2e2b

View File

@ -34,7 +34,7 @@ queries = [
]
f = csv.writer(open(filename, 'a'), delimiter='|', quotechar='"', quoting=csv.QUOTE_MINIMAL)
conn = MySQLdb.connect(host='sql-s4', db='commonswiki_p', read_default_file='~/.my.cnf')
conn = MySQLdb.connect(host='commonswiki.labsdb', db='commonswiki_p', read_default_file='~/.my.cnf')
for query in queries:
conn.query(query)
r = conn.store_result()