[Koha-cvs] koha/misc Install.pm [rel_2_2]
Chris Cormack
crc at liblime.com
Sun Jun 24 23:15:39 CEST 2007
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Chris Cormack <rangi> 07/06/24 21:15:39
Modified files:
misc : Install.pm
Log message:
Fix for bug with Installer and MySQL 5
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/misc/Install.pm?cvsroot=koha&only_with_tag=rel_2_2&r1=1.88.2.17&r2=1.88.2.18
Patches:
Index: Install.pm
===================================================================
RCS file: /sources/koha/koha/misc/Install.pm,v
retrieving revision 1.88.2.17
retrieving revision 1.88.2.18
diff -u -b -r1.88.2.17 -r1.88.2.18
--- Install.pm 1 Feb 2007 21:35:20 -0000 1.88.2.17
+++ Install.pm 24 Jun 2007 21:15:38 -0000 1.88.2.18
@@ -1800,7 +1800,7 @@
# Set up permissions
startsysout();
my $result=system("$mysqldir/bin/mysqladmin", "-u$mysqluser", "create", "$database");
- system("$mysqldir/bin/mysql '-u$mysqluser' -e \"GRANT ALL PRIVILEGES on ".$database.".* to '$user' IDENTIFIED BY '$pass' \" mysql");
+ system("$mysqldir/bin/mysql '-u$mysqluser' -e \"GRANT ALL PRIVILEGES on ".$database.".* to '$user'\@'localhost' IDENTIFIED BY '$pass' \" mysql");
# Change to admin user login
setmysqlclipass($pass);
if ($result) {
More information about the Koha-cvs
mailing list