Tâche #10440
Scénario #10308: Qualification eSBL 2.4.1
Qualification GLPI - $dbhost
Description
ERROR 1045 (28000): Access denied for user 'admin_glpi'@'127.0.0.1' (using password: YES)
(16:00:24) philippe.carre: Donc faut bien remplacer 127.0.0.1 par localhost ?
(16:00:45) vincent.chavanon: on en avait parlé avec Thierry, mais le soucis nsswitch avait tout emporté : il me semble bein qu'on avait conclu à une intégration de ca ds le paquet, si possible.
Related issues
History
#1 Updated by Philippe Carre over 8 years ago
- Status changed from Nouveau to En cours
#2 Updated by Philippe Carre over 8 years ago
- % Done changed from 0 to 10
- Estimated time set to 2.00 h
- Remaining (hours) set to 2.0
#3 Updated by Philippe Carre over 8 years ago
A voir , mais le pb se trouve aussi (surtout ?) dans le script postservice maj_param_ocs.sh
(donc quand OCS est activé)
/usr/bin/mysql -u admin_glpi -p$PWD -D glpi -h$container_ip_mysql -e "UPDATE glpi_ocsservers SET ocs_db_passwd = '"$PWDOCS"' WHERE glpi_ocsservers.name = 'localhost'"
/usr/bin/mysql -u admin_glpi -p$PWD -D glpi -h$container_ip_mysql -e "UPDATE glpi_ocsservers SET ocs_db_user = '"$USEROCS"' WHERE glpi_ocsservers.name = 'localhost'"
container_ip_mysql = 127.0.0.1
#4 Updated by Joël Cuissinat over 8 years ago
Philippe Carre a écrit :
A voir , mais le pb se trouve aussi (surtout ?) dans le script postservice maj_param_ocs.sh
(donc quand OCS est activé)/usr/bin/mysql -u admin_glpi -p$PWD -D glpi -h$container_ip_mysql -e "UPDATE glpi_ocsservers SET ocs_db_passwd = '"$PWDOCS"' WHERE glpi_ocsservers.name = 'localhost'"
/usr/bin/mysql -u admin_glpi -p$PWD -D glpi -h$container_ip_mysql -e "UPDATE glpi_ocsservers SET ocs_db_user = '"$USEROCS"' WHERE glpi_ocsservers.name = 'localhost'"container_ip_mysql = 127.0.0.1
Salut,
En fait, sur 2.4, il faut utiliser adresse_ip_web qui renvoie bien localhost et non container_ip_web qui renvoie 127.0.0.1 en mode non conteneur :)
Evidemment, cette subtilité n'a pas été documenté...
Amicalement
Joël
#5 Updated by Philippe Carre over 8 years ago
- Status changed from En cours to Résolu
#6 Updated by Philippe Carre over 8 years ago
- % Done changed from 10 to 100
- Remaining (hours) changed from 2.0 to 0.0
#7 Updated by Emmanuel GARETTE over 8 years ago
- Status changed from Résolu to En cours
- % Done changed from 100 to 80
Attention joel t'as induit en erreur, il faut utiliser adresse_ip_mysql et non adresse_ip_web !
#8 Updated by Philippe Carre over 8 years ago
- Status changed from En cours to Résolu
- % Done changed from 80 to 100
#9 Updated by Thierry Jambou over 8 years ago
- Status changed from Résolu to Fermé