Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49122 - bacula sql scripts don't work when root mysql user has a password
Summary: bacula sql scripts don't work when root mysql user has a password
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chuck Short (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-26 21:16 UTC by Jason Wever (RETIRED)
Modified: 2004-07-31 08:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Wever (RETIRED) gentoo-dev 2004-04-26 21:16:07 UTC
The sql scripts referenced in the postinstall instructions from the bacula install don't work when the root mysql user has a password.  The following change seems to work here for me;

Original:
if $bindir/mysql $* -u root -f <<END-OF-DATA

Modified:
if $bindir/mysql -p $* -u root -f <<END-OF-DATA

This will prompt the user to enter the root mysql user's password.
Comment 1 Chuck Short (RETIRED) gentoo-dev 2004-07-31 08:31:16 UTC
Fixed