Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED]Does QtSQL supports mariadb?



  • Hello,

    does QtSQL supports mariadb???

    i think that it doesn't.
    I just want a confirmation.
    Thanks in advance



  • To cite the "MariaDB knowledge base":http://kb.askmonty.org/en/mariadb-versus-mysql-compatibility:

    [quote]
    For all practical purposes, MariaDB is a binary drop in replacement of the same MySQL version (for example MySQL 5.1 -> MariaDB 5.1, MariaDB 5.2 & MariaDB 5.3 are compatible. MySQL 5.5 will be compatible with MariaDB 5.5). What this means is that:

    • Data and table definition files (.frm) files are binary compatible.
    • All client APIs, protocols and structs are identical.
    • All filenames, binaries, paths, ports, sockets, and etc... should be the same.
    • All MySQL connectors (PHP, Perl, Python, Java, .NET, MyODBC, Ruby, MySQL C connector etc) work unchanged with MariaDB.
      [/quote]

    So do not see any issues why it should not work with the Qt MySQL plugin.



  • Guys,
    Does anyone tried to run MariaDB practically?



  • I will test this for the sake of Science!!



  • [quote author="luisvaldes88" date="1373650711"]I will test this for the sake of Science!![/quote]

    Thanks



  • Just stumbled across this page and wanted to add an answer since no one has :)

    Yes, QtSQL works with MariaDB. We have compiled QtSQL with the MariaDB source instead of MySQL in our project.

    Cheers!



  • Just stumbled across this page and wanted to add an answer since no one has :)

    Yes, QtSQL works with MariaDB. We have compiled QtSQL with the MariaDB source instead of MySQL in our project.

    Cheers!


Log in to reply