mysqld_safe


mysql_config

The mysql_config utility is an aid to developing MySQL-based programs written in C. It can be used to obtain the proper flags needed to compile C source files or link in MySQL libraries.

Usage

 mysql_config [options] 

Options Specific to mysql_config

  • --cflags

    Display the include directory flags needed to access MySQL header files and other C compiler flags that might be necessary.

  • --embedded, --embedded-libs

    These options are synonyms for --libmysqld-libs.

  • --include

    Display the include directory flags needed to access MySQL header files. The --cflags option is more general and normally is used in preference to --include.

  • --libmysqld-libs

    Display the library flags needed to link in libmysqld, the embedded server library.

  • --libs

    Display the library flags needed to link in the client library.

  • --libs_r

    Display the library flags needed to link in the thread-safe client library.

  • --socket

    Display the default Unix socket file pathname.

  • --port

    Display the default TCP/IP port number.

  • --version

    Display the MySQL version string.



MySQL The definitive guide to using, programming, and administering MySQL 4. 1 and 5. 0
Mysql: the Definitive Guide to Using, Programming, and Administering Mysql 4.1 and 5.0
ISBN: B003A1PKHY
EAN: N/A
Year: 2004
Pages: 190
Authors: Paul Dubois

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net