Connectors

Web applications verified against Raft DB

Which web applications and tools were installed and used against the Raft DB MySQL front-end, what was compared with a real MySQL, and what is not documented.

Raft DB is used by these applications through its MySQL front-end, with the application and its driver untouched: only the connection string (host, port, user, password, database) is given. The owner's goal (plan, 2026-11-11) was that the SQL of WordPress, PrestaShop and similar applications works "from install to using all the functions". This page lists only what the decision records and the changelog state.

How an application is checked#

An application's own installer and a scripted use of it are run once against a real MySQL 9.7 (statement history on) and once against the front-end, and the two runs are compared:

  • the steps and what each page showed,
  • the statements that were refused, with their error numbers,
  • the schema (columns, indexes) and the row counts.

This was done for WordPress, PrestaShop and phpMyAdmin. Statements the application sends can be captured with RAFTDB_MYSQL_TRACE, and each refused statement becomes a work item.

Results documented#

applicationwhat was runresult statedsource
WordPressits own installer, then use: log in, write, edit, search, comment, delete (17 steps)identical to real MySQL 9.7: the steps, the refused statements with their error numbers, the schema and the row countsD60
PrestaShopits command-line installer, then the front office (pages, category, search, cart), a back-office login and a productbehaves the same on both servers; the refused statements are the same; the schema (columns, indexes) and every row count are identicalD61, changelog
phpMyAdmina scripted session logs in with a MySQL account, lists and creates databases and tables, inserts, browses, searches, exports, imports, runs SQL, and opens the server pages, accounts and operations; it was also run against a real MySQLD61 names phpMyAdmin among the applications whose gaps were closed; the steps are those listed. The documents give no separate identical-to-MySQL statement for it as they do for WordPress and PrestaShopD61
an OJS-style application exporta 15 MB mysqldump file (130 tables, 74,878 rows, from MySQL 9.4) loaded into the front-endloads and round-trips identically to MySQL, after five kinds of failure (346 errors) were fixedD64, changelog
SQLyogrun by hand against the front-endthe differences found were closedD61

The phpMyAdmin run used the version phpMyAdmin-5.2.3-all-languages. The documents do not give the versions of WordPress or PrestaShop.

What the applications needed#

Each item was built in the front-end (or the core) because an application sent it; the decision records list them in full.

  • WordPress and PrestaShop (D59, D61): CAST / CONVERT, date and time functions, numeric and string functions, REGEXP, bit operators, non-strict sql_mode behaviour with warnings (errors 1366 and 1265 for a value that does not fit), NATURAL JOIN, AUTO_INCREMENT in a composite primary key, reserved words after a dot, and the SHOW statements that GUI tools send (SHOW TABLE STATUS, SHOW CREATE DATABASE, SHOW TRIGGERS, SHOW PROCESSLIST and others), and EXPLAIN.
  • WordPress (D60): each front-end lists only its own databases; prefix-index lengths such as col(191) are kept in the table definition and reported in SHOW INDEX.
  • PrestaShop (D61): a core change. PrestaShop creates about 300 tables, and every table has two shard logs; a log file now starts at 1 MiB and doubles up to the 64 MiB step, because the earlier preallocation took 38 GB of disk for PrestaShop's tables.
  • The OJS-style dump (D64): foreign keys with enforcement (errors 1452 and 1451, CASCADE, SET NULL, rollback), BIT, DATETIME(n) and TIME(n), and DISABLE KEYS.

Known differences stated in the records#

  • EXPLAIN does not reproduce MySQL 9.7's cost tree (D61).
  • BINARY 'a' = 'A' stays case-insensitive (D59, D61).
  • UNIX_TIMESTAMP and FROM_UNIXTIME use UTC, where the reference machine was at +05:30 (D59, D61).
  • A drop of a table by another front-end can answer 1146 for up to 2 s, because table definitions are cached (D62).
  • Transactions are atomic and isolated one table at a time (D57); see Standard MySQL and MariaDB drivers.
  • TLS is not supported yet: an application that requires TLS to its database cannot connect.

Not documented#

  • No other application (Drupal, Joomla, Nextcloud, MediaWiki, Matomo, Magento, Laravel- or Django-based applications and so on) has a verified run in the project's records. They are not claimed here.
  • WordPress plugins and upgrades: the plan lists "log in, create and edit content, search, plugins, upgrade" as the intended scope; the documented WordPress run is the 17-step install and use above.

See also#