我在glassfish中部署了一个java web应用程序。此应用程序与Mariadb服务器交互。突然,应用程序停止工作。java.sql.SQLNonTransientConnectionException: Could not send query: Last packet not finished|#]这个案子发生了什么?或者我能做些什么?
我很难在Mariadb 10.3.29和10.3.13中运行以下语句BEGIN NOT ATOMIC
DECLARE finished int default 0;[42000]: (conn=54) You have an error in your SQL syntax; check the manual that corresponds to your MariaDBserver version for the right syntax to use near 'DECLARE finish