This package contains a backend for persistent using the
MySQL database server. Internally it uses the mysql-simple
and mysql packages in order to access the database.
This package supports only MySQL 5.1 and above. However, it
has been tested only on MySQL 5.5.
Only the InnoDB storage engine is officially supported.
Known problems:
This package does not support statements inside other
statements.
Changes
2.3
Distinguish between binary and non-binary strings in MySQL 451
Previously all string columns (VARCHAR, TEXT, etc.) were being returned from Persistent as PersistByteStrings (i.e. as binary data). Persistent now checks character set information to determine if the value should be returned as PersistText or PersistByteString.
This is a breaking change if your code is relying on a PersistByteString being returned for string-like MySQL values; persistent-mysql itself had several runtime errors that needed to be fixed because of this patch. High-level code dealing purely with PersistEntities should be unaffected.