I agree this won't work for everyone.. however, I didn't start this bug
and perhaps if we substituted dbname with dbadmname? if there is one
then this would be correct. All I know is that every time mantis is
upgraded I have to go hack the post.inst script. I didn't look at it
very closely to see that the dbadmpass probably didn't go with the
dbname variable but rather with a dbadmname
Let me know and I can look at the script further if needed. I'm curious
as to why not everyone is having this problem. Maybe because the dbname
and dbpass has all the proper rights to do what it needs on some peoples
systems.
Igor Genibel wrote:
* Anthony Tippett <[EMAIL PROTECTED]> [2006-01-20 11:28:18 -0800]:
Hi Anthony,
Changing the following in mantis.postinst will fix the issue for me. Postinst is using the
wrong variable. Should use dbadmpass
283c283
< mysqldump -u"$dbuser" -h"$dbserver" -p"$dbpass" "$dbname" \
---
mysqldump -u"$dbuser" -h"$dbserver" -p"$dbadmpass" "$dbname" \
I read the postinst file and it is right without this patch.
You can't use $dbadmpass with $dbuser (except if you use the same password).
I can't apply your patch. I will close this bug soon, if you agree.
--
Anthony Tippett - 425.443.3152 - Sports-IT - Software Developer
Sports-IT email support: [EMAIL PROTECTED]
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]