1MSQL2MYSQL(1) MySQL Database System MSQL2MYSQL(1)
2
3
4
6 msql2mysql - convert mSQL programs for use with MySQL
7
9 msql2mysqlC-source-file ...
10
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 © 1997, 2011, Oracle and/or its affiliates. All rights
34 reserved.
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-1301 USA or see
48 http://www.gnu.org/licenses/.
49
50
52 For more information, please refer to the MySQL Reference Manual, which
53 may already be installed locally and which is also available online at
54 http://dev.mysql.com/doc/.
55
57 Oracle Corporation (http://dev.mysql.com/).
58
59
60
61MySQL 5.1 10/26/2011 MSQL2MYSQL(1)