Page MenuHomePhabricator

Add a simple script to connect to a replica database
Closed, ResolvedPublic

Description

In Toolforge there is a script https://gerrit.wikimedia.org/r/plugins/gitiles/labs/toollabs/+/refs/heads/master/misctools/sql which provides a sql tool so that you can connect to enwiki replica database via sql enwiki.

In PAWS terminal to connect to enwiki replica database we need mariadb -h enwiki.analytics.db.svc.wikimedia.cloud enwiki_p. We can bring the sql script to PAWS so that we can use the same easy way to connect to a replica database in PAWS terminal.