Skip to content

Commit 98a1337

Browse files
committed
Fix hostname
Follow-up: #32
1 parent f9450c1 commit 98a1337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def main ( args ):
3636

3737
class Run:
3838
def __init__( self, wiki, dry_run ):
39-
host = '127.0.0.1' if dry_run else wiki + 'wiki.db.svc.eqiad.wmflabs'
39+
host = '127.0.0.1' if dry_run else wiki + 'wiki.analytics.db.svc.wikimedia.cloud'
4040
port = credentials.get( 'port', 3306 )
4141
self.db = pymysql.connect( host = host, user = credentials['user'], passwd = credentials['pass'], db = wiki + 'wiki_p', port = port )
4242
self.site = mwclient.Site( wiki + '.wikipedia.org' )

0 commit comments

Comments
 (0)