Comments - MariaDB versus MySQL - Compatibility

12 years, 4 months ago Elena Stepanova

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.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.