diff --git a/commonssql.py b/commonssql.py index 7a92552..8b65eea 100644 --- a/commonssql.py +++ b/commonssql.py @@ -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()