[op5-users] Little patch to install-merlin.sh
nicolas.raspail at bnpparibas.com
nicolas.raspail at bnpparibas.com
Tue Sep 1 12:41:43 CEST 2009
Hi
as said in an earlier email, here is a little patch to install-merlin.sh
(from the master tag in git) that add the following things :
* new option --db-host to specify the host on which the MySQM server is
running
* prompt the user to enter the MySQL administrator login and password
* create the database, grant the user privileges and flush them
as the mysql administrator login
* upgrade the database as the user specified by the --db-user option
I have test it successfully with the following command :
./install-merlin.sh --install=db --db-type=mysql --db-user=merlintest
--db-pass=test --db-name=merlintest --db-host=eqd-nagios-sql
Hope someone will find it usefull :)
Regards
Nicolas
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
Do not print this message unless it is necessary,
consider the environment.
---------------------------------------------
Ce message et toutes les pieces jointes (ci-apres le
"message") sont etablis a l'intention exclusive de ses
destinataires et sont confidentiels. Si vous recevez ce
message par erreur, merci de le detruire et d'en avertir
immediatement l'expediteur. Toute utilisation de ce
message non conforme a sa destination, toute diffusion
ou toute publication, totale ou partielle, est interdite, sauf
autorisation expresse. L'internet ne permettant pas
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce
message, dans l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire,
pensez a l'environnement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.op5.com/pipermail/op5-users/attachments/20090901/dbf8660a/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: install-merlin.sh.patch
Type: application/octet-stream
Size: 2484 bytes
Desc: not available
Url : http://lists.op5.com/pipermail/op5-users/attachments/20090901/dbf8660a/attachment.obj
More information about the op5-users
mailing list