GNU Info

Info Node: (mysql.info)Building clients

(mysql.info)Building clients


Next: Threaded clients Prev: C API problems Up: C
Enter node , (file) or (file)node

Building Client Programs
------------------------

If you compile MySQL clients that you've written yourself or that you
obtain from a third party, they must be linked using the `-lmysqlclient
-lz' option on the link command.  You may also need to specify a `-L'
option to tell the linker where to find the library.  For example, if
the library is installed in `/usr/local/mysql/lib', use
`-L/usr/local/mysql/lib -lmysqlclient -lz' on the link command.

For clients that use MySQL header files, you may need to specify a `-I'
option when you compile them (for example,
`-I/usr/local/mysql/include'), so the compiler can find the header
files.


automatically generated by info2www version 1.2.2.9