title: Does MySQL's Connector/J work with MariaDB?
body: <p>I'm attempting to connect to my MariaDB database using Connector/J from <a href="https://dev.mysql.com/downloads/connector/j/" rel="nofollow noreferrer">here</a>, but this fails to work and MariaDB logs `</p>
  
  <blockquote>
    <p>"[Warning] Aborted connection 12 to db: 'enwikt_parsed' user:
    'javawiki' host: 'localhost' (Got an error reading communication
    packets)".</p>
  </blockquote>
  
  <p>`</p>
  
  <p>It occurs to me that I just assumed Connector/J from MySQL would just work with MariaDB, but now I'm not so sure. I know MariaDB has their own Java API/Connector, but I'm using someone else's code to <a href="https://github.com/componavt/wikokit" rel="nofollow noreferrer">parse</a> wiktionary, and therefore can't use it.</p>
  
  <p>Before I try some more involved solutions, I'd like to know if I'm trying to fix something that wasn't meant to be used this way in the first place.</p>