I cannot login to beta cluster db. I checked the instructions on https://www.mediawiki.org/wiki/Beta_Cluster - they refer to the way that I was doing successfully before. Today I got the same error as was reported in T217323:
$ ssh deployment-deploy01.eqiad.wmflabs
Linux deployment-deploy01 4.9.0-8-amd64 #1 SMP Debian 4.9.110-3+deb9u6 (2018-10-08) x86_64
Debian GNU/Linux 9.5 (stretch)
The last Puppet run was at Fri Mar 8 23:59:42 UTC 2019 (24 minutes ago).
Last login: Sat Mar 9 00:22:46 2019 from 172.16.1.136
groups: cannot find name for group ID 50120
groups: cannot find name for group ID 50120
groups: cannot find name for group ID 50120
etonkovidova@deployment-deploy01:~$ sql enwiki
Fatal error: Uncaught RuntimeException: RedisConnectionPool requires a Redis client library. See https://www.mediawiki.org/wiki/Redis#Setup in /srv/mediawiki-staging/php-master/includes/libs/redis/RedisConnectionPool.php:80
Stack trace:
#0 /srv/mediawiki-staging/php-master/includes/libs/redis/RedisConnectionPool.php(152): RedisConnectionPool->__construct(Array, '8d9cd2955414c7d...')
#1 /srv/mediawiki-staging/php-master/includes/libs/objectcache/RedisBagOStuff.php(77): RedisConnectionPool::singleton(Array)
#2 /srv/mediawiki-staging/php-master/includes/objectcache/ObjectCache.php(216): RedisBagOStuff->__construct(Array)
#3 /srv/mediawiki-staging/php-master/includes/ServiceWiring.php(242): ObjectCache::newFromParams(Array)
#4 /srv/mediawiki-staging/php-master/includes/libs/services/ServiceContainer.php(430): Wikimedia\Services\ServiceContainer->{closure}(Object(MediaWiki\MediaWikiServices))
#5 /srv/mediawiki-staging/php-master/includes/libs/services/ServiceContainer.php(414): Wikimedia\Services\ServiceContainer->createServic in /srv/mediawiki-staging/php-master/includes/libs/redis/RedisConnectionPool.php on line 80With mysql enwiki the output gives other details:
etonkovidova@deployment-deploy01:~$ mysql enwiki ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
I do not have /var/run/mysqld directory.
Checking for mysql presence:
etonkovidova@deployment-deploy01:~$ ps ax | grep mysql 18622 pts/3 R+ 0:00 grep mysql etonkovidova@deployment-deploy01:~$ dpkg --get-selections | grep mysql default-mysql-client install libdbd-mysql-perl install mysql-client install mysql-common install php-mysql install php7.0-mysql deinstall php7.2-mysql install
Any advice? Is there a different way to access betalabs db?