mysql_config

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.

mysql_config is available as of MySQL 3.23.21.

Usage

 mysql_config [options]  

Options Specific to mysql_config

  • --cflags

    Display the include directory flags needed to access MySQL header files.

  • --embedded, --embedded-libs

    These options are synonyms for --libmysqld-libs.

  • --libs

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

  • --socket

    Display the default MySQL socket file pathname.

  • --port

    Display the default MySQL TCP/IP port number.

  • --version

    Display the MySQL version string.

  • --libmysqld-libs

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



MySQL
High Performance MySQL: Optimization, Backups, Replication, and More
ISBN: 0596101716
EAN: 2147483647
Year: 2003
Pages: 188

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