[Koha] Re: OpenSolaris and kohaadmin rights at installation
Rick Welykochy
rick at praxis.com.au
Mon Jun 25 11:23:25 NZST 2007
Chris Cormack wrote:
> Ive fixed this in cvs now, in the rel_2_2 branch.
> So if you grab the Install.pm file from cvs you will get the fix.
>
> Otherwise, the change is line 1083
> system("$mysqldir/bin/mysql '-u$mysqluser' -e \"GRANT ALL PRIVILEGES on
> ".$database.".* to '$user' IDENTIFIED BY '$pass' \" mysql");
>
> becomes
>
> system("$mysqldir/bin/mysql '-u$mysqluser' -e \"GRANT ALL PRIVILEGES on
> ".$database.".* to '$user'\@'localhost' IDENTIFIED BY '$pass' \" mysql");
Chris,
IIRC, when I specify a host different from 'localhost' for the MySQL
configuration during install.pl, the install fails. This is because
'localhost' is hardcoded in various parts of the install.
See http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1323
for details.
Might I suggest that @'localhost' be replaced by @'$installhost'
in the above, so that it works with any server configured for
MySQ, not just localhost.
cheers
rickw
--
_________________________________
Rick Welykochy || Praxis Services
Any belief that can't stand up to objective scrutiny is hardly worth having.
-- LJ McIntyre
More information about the Koha
mailing list