方法1:在启动脚本startup.dos中添加 loadPlugin("plugins/PluginMySQL.txt"),实现自动加载。参考教程:Startup.md · dolphindb/Tutorials_CN - Gitee.com
方法2:在配置文件中,单机single模式为dolphindb.cfg,集群模式为cluster.cfg,添加配置参数preloadModules配置。比如:preloadModules=plugins::mysql, system::log::fileLog
系统启动后自动加载的模块或插件。如果需要加载多个模块或插件,使用逗号分隔。