mariadb.connect relies on analytics-mysql to identify the database host and port number to connect to, ref mariadb.py lines 30 through 45.
By default, cron jobs on stat100* servers do not have the PATH set to include the location of analytics-mysql, and thus throw an error when trying to query the MariaDB servers. Setting the path of course solves this problem, but there might be preferable long-term solutions that take of this seamlessly.
In addition, analytics-mysql is not available on an-test-client1001, which complicates the process of testing Wmfdata.