1MSQL2MYSQL(1)               MariaDB Database System              MSQL2MYSQL(1)
2
3
4

NAME

6       msql2mysql - convert mSQL programs for use with MySQL
7

SYNOPSIS

9       msql2mysqlC-source-file ...
10

DESCRIPTION

12       Initially, the MySQL C API was developed to be very similar to that for
13       the mSQL database system. Because of this, mSQL programs often can be
14       converted relatively easily for use with MySQL by changing the names of
15       the C API functions.
16
17       The msql2mysql utility performs the conversion of mSQL C API function
18       calls to their MySQL equivalents.  msql2mysql converts the input file
19       in place, so make a copy of the original before converting it. For
20       example, use msql2mysql like this:
21
22           shell> cp client-prog.c client-prog.c.orig
23           shell> msql2mysql client-prog.c
24           client-prog.c converted
25
26       Then examine client-prog.c and make any post-conversion revisions that
27       may be necessary.
28
29       msql2mysql uses the replace utility to make the function name
30       substitutions. See replace(1).
31
33       Copyright 2007-2008 MySQL AB, 2008-2010 Sun Microsystems, Inc.,
34       2010-2019 MariaDB Foundation
35
36       This documentation is free software; you can redistribute it and/or
37       modify it only under the terms of the GNU General Public License as
38       published by the Free Software Foundation; version 2 of the License.
39
40       This documentation is distributed in the hope that it will be useful,
41       but WITHOUT ANY WARRANTY; without even the implied warranty of
42       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
43       General Public License for more details.
44
45       You should have received a copy of the GNU General Public License along
46       with the program; if not, write to the Free Software Foundation, Inc.,
47       51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA or see
48       http://www.gnu.org/licenses/.
49
50

SEE ALSO

52       For more information, please refer to the MariaDB Knowledge Base,
53       available online at https://mariadb.com/kb/
54

AUTHOR

56       MariaDB Foundation (http://www.mariadb.org/).
57
58
59
60MariaDB 10.5                     27 June 2019                    MSQL2MYSQL(1)
Impressum