Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ac74184

Browse files
committed
Fixes #1200
1 parent 05a496c commit ac74184

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

plugins/dbms/mysql/takeover.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ def udfSetRemotePath(self):
3636

3737
banVer = kb.bannerFp["dbmsVersion"]
3838

39+
if banVer >= "5.0.67":
40+
logger.info("retrieving MySQL plugin directory absolute path")
41+
self.__basedir = unArrayizeValue(inject.getValue("SELECT @@plugin_dir"))
42+
3943
# On MySQL 5.1 >= 5.1.19 and on any version of MySQL 6.0
4044
if banVer >= "5.1.19":
4145
if self.__basedir is None:

0 commit comments

Comments
 (0)