Package: sympa
Version: 4.1.5-2
Severity: important

The -h parameter of /usr/share/sympa/db/install-mysql-db is used to form
the dsn to connect to the database.
It is also used for the GRANT ALL.

So if you are using a mysql server on another host, you can't connect to
the database as the sympa user.

Patch is:
--- install-mysql-db    2005-09-29 11:52:42.000000000 +1000
+++ install-mysql-db.orig       2005-09-29 11:52:26.000000000 +1000
@@ -76,7 +76,7 @@
 }

 # Create user sympa
-my $command="GRANT ALL on $database.* TO [EMAIL PROTECTED]";
+my $command="GRANT ALL on $database.* TO [EMAIL PROTECTED]";
 if ($userpass ne "") {
     $command .= " IDENTIFIED BY '$userpass'";
 }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to