mirror of
https://github.com/WikiTeam/wikiteam
synced 2024-11-12 07:12:41 +00:00
Update host
This commit is contained in:
parent
f43b7389a0
commit
98353d2e2b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user