Projet

Général

Profil

Tâche #17088

Mis à jour par Scrum Master il y a plus de 7 ans

* SR-T03-002 Restauration complète sur un serveur Scribe non instancié* pas n°7 :
<pre>
Restaurer le catalogue Bacula :
bareosrestore.py --catalog $DIR_NAME
</pre>

<pre>
## Réinitialisation des mots de passe Mysql ##
Granting mysql tables
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1133 (42000) at line 2: Can't find any matching row in the user table
ERROR 1133 (42000) at line 3: Can't find any matching row in the user table
ERROR 1133 (42000) at line 4: Can't find any matching row in the user table
Privileges for user bareos granted ON database bareos.
Régénération du catalogue terminée
</pre>

Le code SQL exécuté est le suivant :
<pre>
USE mysql
GRANT ALL PRIVILEGES ON TABLE bareos.* TO bareos@localhost IDENTIFIED BY '7814641a576381f66538cc30461ed54658dc1b66716b7080b707f580';
GRANT ALL PRIVILEGES ON TABLE bareos.* TO bareos@'127.0.0.1' IDENTIFIED BY '7814641a576381f66538cc30461ed54658dc1b66716b7080b707f580';
GRANT ALL PRIVILEGES ON TABLE bareos.* TO bareos@'::1' IDENTIFIED BY '7814641a576381f66538cc30461ed54658dc1b66716b7080b707f580';
</pre>

La commande @/usr/share/eole/sbin/bareosregen.sh@ n'affiche plus ces erreurs une fois le serveur instancié.

Retour