Page MenuHomePhabricator

Missing replica.my.cnf for freshly created Toolforge account vehicle-keeper-markings
Closed, ResolvedPublic

Description

I just created a new Toolforge tool called vehicle-keeper-markings. However, other than with other tools I’ve created before, there is no file replica.my.cnf in its home directory. How can I get such a file created, so that the tool will be able to access ToolsDB?

$ ssh sascha@login.toolforge.org
$ become vehicle-keeper-markings
$ ls
logs
$ sql tools
There is no configuration file for MariaDB to use, you will probably be unable to access the database

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Mentioned in SAL (#wikimedia-cloud) [2025-01-03T21:01:20Z] <bd808> sudo service maintain-dbusers restart on cloudcontrol1005. Report of missing replica.my.cnf and journalctl output empty due to log rotation. (T382962)

bd808 claimed this task.
bd808 moved this task from Inbox to Clinic Duty on the cloud-services-team board.
bd808 subscribed.

The credentials provisioning service had hung somehow. Restarting it seems to have fixed things up:

$ sudo ls -lh /data/project/vehicle-keeper-markings/replica.my.cnf
-r--r----- 1 tools.vehicle-keeper-markings tools.vehicle-keeper-markings 53 Jan  3 20:58 /data/project/vehicle-keeper-markings/replica.my.cnf