[MOBY-guts] biomoby commit

Pieter Neerincs pieter at pub.open-bio.org
Mon Sep 12 13:51:03 UTC 2005


pieter
Mon Sep 12 09:51:03 EDT 2005
Update of /home/repository/moby/moby-live/Perl/scripts
In directory pub.open-bio.org:/tmp/cvs-serv8543/Perl/scripts

Modified Files:
	CloneCentralDatabases.pl 
Log Message:
Fixed small SQL GRANT PRIVILEGES bug in Perl/scripts/CloneCentralDatabases.pl

moby-live/Perl/scripts CloneCentralDatabases.pl,1.1,1.2
===================================================================
RCS file: /home/repository/moby/moby-live/Perl/scripts/CloneCentralDatabases.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- /home/repository/moby/moby-live/Perl/scripts/CloneCentralDatabases.pl	2005/07/07 11:39:54	1.1
+++ /home/repository/moby/moby-live/Perl/scripts/CloneCentralDatabases.pl	2005/09/12 13:51:03	1.2
@@ -143,7 +143,7 @@
     $data .= "FLUSH PRIVILEGES\;\n";
 	$data .= "CREATE DATABASE IF NOT EXISTS $dbname\;\n";
 	$data .= "USE $dbname\;\n";
-	$data .= "GRANT ALL PRIVILEGES ON $dbname TO \"$username\"\@\"localhost\" identified by \"$password\"\;\n";
+	$data .= "GRANT ALL PRIVILEGES ON $dbname.* TO \"$username\"\@\"localhost\" identified by \"$password\"\;\n";
 	$data .= "FLUSH PRIVILEGES\;\n";
 	
 }




More information about the MOBY-guts mailing list