[Rt-commit] [svn] r1043 - rt/trunk/etc
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Wed Jun 9 16:00:36 EDT 2004
Author: alexmv
Date: Wed Jun 9 16:00:36 2004
New Revision: 1043
Modified:
rt/trunk/etc/acl.mysql
Log:
RT-Ticket: 5366
RT-Update: correspond
RT-Status: resolved
* Quote the database hostname when doing a GRANT under Mysql;
otherwise hostnames with dashes cause errors
Modified: rt/trunk/etc/acl.mysql
==============================================================================
--- rt/trunk/etc/acl.mysql (original)
+++ rt/trunk/etc/acl.mysql Wed Jun 9 16:00:36 2004
@@ -3,6 +3,6 @@
"USE mysql;",
"DELETE FROM user WHERE user = '${RT::DatabaseUser}';",
"DELETE FROM db where db = '${RT::DatabaseName}';",
-"GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON ${RT::DatabaseName}.* TO ${RT::DatabaseUser}\@${RT::DatabaseRTHost} IDENTIFIED BY '${RT::DatabasePassword}';");
+"GRANT SELECT,INSERT,CREATE,INDEX,UPDATE,DELETE ON ${RT::DatabaseName}.* TO ${RT::DatabaseUser}\@'${RT::DatabaseRTHost}' IDENTIFIED BY '${RT::DatabasePassword}';");
}
1;
More information about the Rt-commit
mailing list