msql2mysql(1)

msql2mysql1

Convert msql programs for use with mariadb

Usage

msql2mysqlC-source-file

Overview

Initially, the MySQL C API was developed to be very similar to that for the mSQL database system. Because of this, mSQL programs often can be converted relatively easily for use with MariaDB by changing the names of the C API functions.

The msql2mysql utility performs the conversion of mSQL C API function calls to their MariaDB equivalents. msql2mysql converts the input file in place, so make a copy of the original before converting it. For example, use msql2mysql like this:

shell> cp client-prog.c client-prog.c.orig
shell> msql2mysql client-prog.c
client-prog.c converted

Then examine client-prog.c and make any post-conversion revisions that may be necessary.

msql2mysql uses the replace utility to make the function name substitutions. See replace(1).

Releases

14 releases since Debian 2.2 (Potato); the text changed 11 times.

  1. 2.2–3.0
  2. 3.1
  3. 4.0
  4. 5.0
  5. 6.0
  6. 7
  7. 8
  8. 9
  9. 10
  10. 11
  11. 12
  12. 13–Arch

Author

MariaDB Foundation (http://www.mariadb.org/).

From mariadb 13.0.2-2 in Arch Linux 2026-11-01. Also shipped by mariadb-lts. Parsed by carta from the page's man source.