Tâche #19562
Mis à jour par Joël Cuissinat il y a environ 9 ans
Le fichier est modifié avant utilisation dans la script bareosregen.sh.
Avant correction, les erreurs suivantes apparaissent sur EOLE 2.6.0 et 2.6.1 :
Erreurs MySQL à l'instance lors de la création des tables pour Bareos :
<pre>
run-parts: executing /usr/share/eole/posttemplate/00-bareos instance
## Régénération du catalogue Bareos##
Start Systemd service mysql [ OK ]
## Réinitialisation des mots de passe Mysql ##
Creating mysql database
mysql: [Warning] Using a password on the command line interface can be insecure.
Creating of bareos database succeeded.
Making mysql tables
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1071 (42000) at line 386: Specified key was too long; max key length is 255 bytes
ERROR 1071 (42000) at line 394: Specified key was too long; max key length is 255 bytes
Creation of Bareos MySQL tables succeeded.
</pre>
Avant correction, les erreurs suivantes apparaissent sur EOLE 2.6.0 et 2.6.1 :
Erreurs MySQL à l'instance lors de la création des tables pour Bareos :
<pre>
run-parts: executing /usr/share/eole/posttemplate/00-bareos instance
## Régénération du catalogue Bareos##
Start Systemd service mysql [ OK ]
## Réinitialisation des mots de passe Mysql ##
Creating mysql database
mysql: [Warning] Using a password on the command line interface can be insecure.
Creating of bareos database succeeded.
Making mysql tables
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 1071 (42000) at line 386: Specified key was too long; max key length is 255 bytes
ERROR 1071 (42000) at line 394: Specified key was too long; max key length is 255 bytes
Creation of Bareos MySQL tables succeeded.
</pre>