From ac74184422f1dc505b4faf2ee7545da563dde0cd Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 25 Mar 2015 23:43:48 +0100 Subject: [PATCH] Fixes #1200 --- plugins/dbms/mysql/takeover.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/dbms/mysql/takeover.py b/plugins/dbms/mysql/takeover.py index a0ac94330..27a015e7a 100644 --- a/plugins/dbms/mysql/takeover.py +++ b/plugins/dbms/mysql/takeover.py @@ -36,6 +36,10 @@ class Takeover(GenericTakeover): banVer = kb.bannerFp["dbmsVersion"] + if banVer >= "5.0.67": + logger.info("retrieving MySQL plugin directory absolute path") + self.__basedir = unArrayizeValue(inject.getValue("SELECT @@plugin_dir")) + # On MySQL 5.1 >= 5.1.19 and on any version of MySQL 6.0 if banVer >= "5.1.19": if self.__basedir is None: