Gallardot opened a new issue, #14585:
URL: https://github.com/apache/dolphinscheduler/issues/14585

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   On the dev branch, I built a ds image using mysql.
   First helm install, everything is ok.
   but after helm upgrade, db-init-job failed.
   
   ```
   helm upgrade --install --create-namespace --namespace dolphinscheduler  
dolphinscheduler dolphinscheduler -f helm/values-dev.yaml
   ```
   db-init-job error logs
   ```
   2023-07-19 16:23:02.266 ERROR 7 --- [           main] 
o.a.d.common.utils.ScriptRunner          : SQLException
   
   java.sql.SQLSyntaxErrorException: Table 't_ds_trigger_relation' already 
exists
        at 
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:121) 
~[mysql-connector-j-8.0.33.jar:8.0.33]
        at 
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
 ~[mysql-connector-j-8.0.33.jar:8.0.33]
        at 
com.mysql.cj.jdbc.StatementImpl.executeInternal(StatementImpl.java:763) 
~[mysql-connector-j-8.0.33.jar:8.0.33]
        at com.mysql.cj.jdbc.StatementImpl.execute(StatementImpl.java:648) 
~[mysql-connector-j-8.0.33.jar:8.0.33]
        at 
com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:94) 
~[HikariCP-4.0.3.jar:na]
   ```
   
   
   ### What you expected to happen
   
   no error
   
   ### How to reproduce
   
   as mentioned above
   
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   dev
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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]

Reply via email to