DK101010 commented on pull request #5848:
URL: https://github.com/apache/cloudstack/pull/5848#issuecomment-1073561853


   > Hi @DK101010 there is a problem with the SQL changes that is causing the 
management server to fail, can you please fix?
   > 
   > ```
   > Caused by: java.sql.SQLSyntaxErrorException: You have an error in your SQL 
syntax; check the manual that corresponds to your MariaDB server version for 
the right syntax to use near 'DELIMITER // CREATE PROCEDURE 
create_external_uuid_in_volumes()   BEGIN     SELE' at line 1
   >         at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:185)
   >         at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87)
   >         at 
com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:215)
   >         ... 52 more
   > 2022-03-21 04:20:06,233 DEBUG [c.c.u.d.T.Transaction] (main:null) (logid:) 
Rolling back the transaction: Time = 426 Name =  Upgrade; called by 
-TransactionLegacy.rollback:888-TransactionLegacy.removeUpTo:831-TransactionLegacy.close:655-DatabaseUpgradeChecker.upgrade:314-DatabaseUpgradeChecker.check:389-CloudStackExtendedLifeCycle.checkIntegrity:64-CloudStackExtendedLifeCycle.start:54-DefaultLifecycleProcessor.doStart:178-DefaultLifecycleProcessor.access$200:54-DefaultLifecycleProcessor$LifecycleGroup.start:356-Iterable.forEach:75-DefaultLifecycleProcessor.startBeans:155
   > ```
   
   Hi @nvazquez, hmm for mysql server it works, I guess MariaDB don't like it. 
Therefore I would have to change my server to write a alternative solution. 
probably I need some time for this change.


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