I'm trying to understand the relationship between MySQL versions and MariaDB versions and hoping someone can clarify?

I was under the impression that MariaDB was forked from MySQL many years ago and, as such, are independent projects, however...

When I install mariadb:10.0.38, version is shown as mysql Ver 15.1 Distrib 10.0.38-MariaDB

When I install mariadb:5.5.65, version is shown as mysql Ver 15.1 Distrib 5.5.65

SO... what is the 15.1 referring to? AFAIK MySQL is only on version 8 and MariaDB is only on 10?

Can anyone help with an explanation?

Thanks in advance

  • Where did you get that version string from? Sep 11, 2020 at 13:32
  • I used mysql -V
    – an0nc0d3r
    Sep 11, 2020 at 14:16

1 Answer 1


mysql -V returns the version of the mysql client command used to access a MySQL server (here 15.1), as well as the version of MySQL (or MariaDB) it was distributed with, not (directly) the version of the server itself.

For the authoritative server version, run SELECT VERSION(); within mysql.

  • Thanks for the info, makes total sense.
    – an0nc0d3r
    Sep 11, 2020 at 15:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .