You can also use your old MySQL connector packages with MariaDB if you want. The same client protocol and the client libraries are binary compatible. All your old clients and connectors (PHP, Perl, Python, Java, etc.) will work.Note that if you use a MariaDB package, mariadb-upgrade is usually run automatically. This is needed to ensure that your mysql privilege and event tables are updated with the new fields MariaDB uses. ![]() You should run mariadb-upgrade (as you would with mysql_upgrade in MySQL) to finish the upgrade.As with any upgrade, we recommend making a backup of your data beforehand. There is no need to dump and restore databases. Within the same base version (for example MySQL 5.5 -> MariaDB 5.5, MySQL 5.6 -> MariaDB 10.0 and MySQL 5.7 -> MariaDB 10.2) you can in most cases just uninstall MySQL and install MariaDB and you are good to go.For upgrading from very old MySQL versions, see Upgrading to MariaDB from MySQL 5.0 (or older version).If you are using MySQL 8.0 or above, you have to use mysqldump to move your database to MariaDB. ![]() See Making MariaDB understand MySQL JSON.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |