php5-mysql

Phillip Koebbe phillip.koebbe at gmail.com
Thu Apr 19 08:13:47 PDT 2012


On Apr 19, 2012, at 9:22 AM, Bjarne D Mathiesen wrote:

> does anybody know whether mariadb just works with php5-mysql ???
> 

In addition to what Bradley provided, this is from

http://kb.askmonty.org/en/mariadb-versus-mysql-compatibility

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.
	- There are some installation issues with PHP5 that you should be aware of (a bug in how the old PHP5 client checks library compatibility).
	- The mysql-client package also works with MariaDB server.

This means that for most cases, you can just uninstall MySQL and install MariaDB and you are good to go. (No need to convert any datafiles if you use same main version, like 5.1).


More information about the macports-users mailing list