koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/misc Install.pm [rel_2_2]


From: Chris Cormack
Subject: [Koha-cvs] koha/misc Install.pm [rel_2_2]
Date: Sun, 24 Jun 2007 21:15:39 +0000

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) {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]