summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bec6af5)
raw | patch | inline | side by side (parent: bec6af5)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 31 Jan 2006 14:37:11 +0000 (14:37 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Tue, 31 Jan 2006 14:37:11 +0000 (14:37 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1308 f882894a-f735-0410-b71e-b25c423dba1c
plugins/t/check_mysql.t | patch | blob | history |
index 764db72c1ddda7dbaf414cd29b3944faa336e1f5..e961106b3cbaffa974d8305390b33f71187c2adf 100644 (file)
--- a/plugins/t/check_mysql.t
+++ b/plugins/t/check_mysql.t
#
# $Id$
#
+#
+# These are the database permissions required for this test:
+# GRANT SELECT ON $db.* TO $user@$host INDENTIFIED BY '$password';
+# GRANT SUPER, REPLICATION CLIENT ON *.* TO $user@$host;
+# Check with:
+# mysql -u$user -p$password -h$host $db
use strict;
use Test::More;
my $mysql_login_details = getTestParameter(
"MYSQL_LOGIN_DETAILS",
"Command line parameters to specify login access",
- "-u user -ppw",
+ "-u user -ppw -d db",
);
my $with_slave = getTestParameter(
"NP_MYSQL_WITH_SLAVE",