On Tue, Jul 7, 2020 at 11:22 PM Dashamir Hoxha <[email protected]> wrote:

> On Wed, Jul 8, 2020 at 12:08 AM Mike Jumper <[email protected]> wrote:
>
>>
>> Even if this does prove to be a bug in a specific version of MariaDB or
>> Connector/J, I think it is worth determining what exactly is failing and
>> how. It does not make sense that a bug within the database would cause such
>> specific trouble. I would expect a bug in the database itself to wreak much
>> more generic havoc.
>>
>
> It does not seem like a bug in the database. Most probably it is a bug in
> the UI (tomcat application). The docs say that sharing connections is
> supported only if there is a database. Given that MariaDB support was added
> recently, maybe some condition is still wrong for some reason.
>
>
It could be; however, as I already mentioned I have configured my
environment using a similar configuration to yours (MariaDB server, though
an older version, MariaDB Connector/J), and connection sharing works
perfectly fine for me.

MariaDB Connector/J support was added in 1.2.0, but it was a very simple
change to support the Java class that the MariaDB Connector/J driver runs
under - otherwise, support for MySQL and MariaDB remains largely the same.
It is possible that some changes in more recent versions of the MariaDB
server are causing incompatibilities.  It's definitely worth some more
testing.

-Nick

Reply via email to