Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153585 - Error in post-install instruction for www-misc/zoneminder-1.22.2
Summary: Error in post-install instruction for www-misc/zoneminder-1.22.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-31 11:39 UTC by Akimov Oleg
Modified: 2006-11-01 14:18 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 Akimov Oleg 2006-10-31 11:39:09 UTC
I have installed www-misc/zoneminder-1.22.2 with vhost use flag.

After running

webapp-config -I -h zoneminder.local -d zoneminder zoneminder 1.22.2

I have received post-install instructions:

...
0. If this is a new installation, you will need to create a database for ZM to
   use. Execute the following:

 cd /usr/share/zoneminder
 mysql mysql < db/zm_create.sql
 mysql mysql
  > grant select,insert,update,delete on zoneminder.* to '<username>'@localhost identified by '<password>';
  > quit
 mysqladmin reload
...

If you look at db/zm_create.sql (and /etc/zm.conf), you'll see, that database name for data is zn (not zoneminder), so correct command must be:

grant select,insert,update,delete on zm.* to '<username>'@localhost identified by '<password>';

p.s. BTW, zoneminder compilled w/o troubles on my amd64 platform, but ecbuild doesn't contain ~amd keyword :(
Comment 1 Renat Lumpau (RETIRED) gentoo-dev 2006-11-01 14:18:22 UTC
done, thanks