Comments - MariaDB versus MySQL - Compatibility

While uninstalling a MySQL-server RPM and installing MariaDB-server, you can encounter some dependency errors. As of MariaDB 5.1.60, 5.2.10 and 5.3.3 RHEL RPMs comparing to MySQL 5.1.60, these dependencies are:

  • perl-DBI
  • libmysqlclient.so.16
  • libmysqlclient_r.so.16
  • libhsclient.so.0 (5.3 only)

perl-DBI is used in scripts:

  • mysql_convert_table_format
  • mysql_setpermission
  • mysqlhotcopy

If you are not planning to use the scripts, it can be ignored. It is in fact the same for MySQL-server-5.1.60, but dependencies seem to be suppressed there; so chances are, if you did not need them before, you don't need to worry about it.

libmysqlclient_r is needed for mysqltest. If you are not going to run tests, it should not matter.

libmysqlclient is needed for mysql_upgrade. It is an important tool for server upgrades, so it is better to install the library from the MariaDB-shared package. It will resolve the previous problem, too.

libhsclient is required by HandlerSocket plugin. If you are planning to use the plugin, see installation instructions for more details; otherwise the dependency error can also be suppressed by the '--nodeps' rpm option.