为提高效率,提问时请提供以下信息,问题描述清晰可优先响应。
【DM版本】:dm8
【操作系统】:wind10
【CPU】:
【问题描述】*:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘quartzDataSourceInitializer’ defined in class path resource [org/springframework/boot/autoconfigure/quartz/QuartzAutoConfiguration$JdbcStoreTypeConfiguration.class]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Unable to detect database type
在管理工具中,用sysdba 用户执行
sp_set_para_value(1,‘SVR_LOG’,1)
则系统会在/%DM_HOME%/log目录下生成名为dmsql_实例名_日期_时间.log的SQL日志文件。例如,dmsql_DMSERVER_20210226_102712.log。在该文件中记录了启用SVR_LOG之后数据库接收到的所有SQL语句等信息,DBA也可以通过分析该文件来帮助解决问题。
跟踪完毕后用sysdba 用户执行
sp_set_para_value(1,‘SVR_LOG’,0)
关闭日志,以防磁盘空间被写满