MAN page from RedHat EL 5 MySQL-client-community-5.1.72-1.rhel5.x86_64.rpm
Section: MySQL Database System (1)
msql2mysql - convert mSQL programs for use with MySQL
- msql2mysqlC-source-file ...
DESCRIPTIONInitially, 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 MySQL by changing the names of the C API functions.
Themsql2mysqlutility performs the conversion of mSQL C API function calls to their MySQL equivalents.msql2mysqlconverts the input file in place, so make a copy of the original before converting it. For example, usemsql2mysqllike this:
shell> cp client-prog.c client-prog.c.origshell> msql2mysql client-prog.cclient-prog.c converted
Then examineclient-prog.cand make any post-conversion revisions that may be necessary.
msql2mysqluses thereplaceutility to make the function name substitutions. Seereplace(1).
Copyright © 1997, 2013, Oracle and/or its affiliates. All rights reserved.
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
SEE ALSOFor more information, please refer to the MySQL Reference Manual,which may already be installed locally and which is also availableonline at http://dev.mysql.com/doc/.
AUTHOROracle Corporation (http://dev.mysql.com/).
- SEE ALSO
This document was created byman2html,using the manual pages.