ouyangyewei opened a new pull request #6560:
URL: https://github.com/apache/dolphinscheduler/pull/6560
```
23:59:34.777 [main] ERROR
org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler - create
DolphinScheduler failed
java.lang.RuntimeException: You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version for the right syntax to
use near 'ALTER TABLE t_ds_task_definition drop INDEX `task_unique`; END
IF; END' at line 1
at
org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:505)
at
org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinScheduler(UpgradeDao.java:270)
at
org.apache.dolphinscheduler.dao.upgrade.DolphinSchedulerManager.upgradeDolphinScheduler(DolphinSchedulerManager.java:117)
at
org.apache.dolphinscheduler.dao.upgrade.shell.CreateDolphinScheduler.main(CreateDolphinScheduler.java:41)
Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL
syntax; check the manual that corresponds to your MySQL server version for the
right syntax to use near 'ALTER TABLE t_ds_task_definition drop INDEX
`task_unique`; END IF; END' at line 1
at
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:118)
at
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:95)
at
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at
com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:790)
at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:675)
at
com.alibaba.druid.pool.DruidPooledStatement.execute(DruidPooledStatement.java:632)
at
org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:117)
at
org.apache.dolphinscheduler.common.utils.ScriptRunner.runScript(ScriptRunner.java:72)
at
org.apache.dolphinscheduler.dao.upgrade.UpgradeDao.upgradeDolphinSchedulerDDL(UpgradeDao.java:492)
... 3 common frames omitted
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]