Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
194 views
in Technique[技术] by (71.8m points)

The plugin file doesn't exist

我加载DolphinDB database安装包自带的mysql插件,提示文件不存在,但我确认文件是在的,怎么回事?
mysqlplugin_20200513110141.pngmysqlfile1_20200513110241.png


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

用exists(pluginPath)判断一下文件在不在。若不存在,检查确认一下这个文件是在dolphindb服务端主机上,而不是在GUI客户端这侧。
若是用dolphindb安装包自带的mysql插件,可以用下列代码加载:

loadPlugin(getHomeDir()+"/plugins/mysql/PluginMySQL.txt")

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...