Event Timeline
Comment Actions
root@neodymium:~$ ./mysql.py -h db1052 enwiki Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 2447007520 Server version: 10.0.28-MariaDB MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. root@db1052.eqiad.wmnet[enwiki]>
Comment Actions
while read host port; do ./mysql.py -h $host:$port enwiki -e "SHOW CREATE TABLE revision\G"; done < s1.hosts
(it handles different passwords and dns resolution/tls automaticaly for you)