<< previous page   --   table of contents   --   next page >>
| | | | | | | |
  • Return to Table of Contents
  • Table of Contents

    1. General Information
    2. MySQL Installation
    3. Tutorial Introduction
    4. Database Administration
    5. MySQL Optimisation
    6. MySQL Language Reference
    7. MySQL Table Types
    8. MySQL APIs
    9. Extending MySQL

    586 MySQL Technical Reference for Version 4.0.3 Errors None. 8.4.3.38  mysql_options() int mysql_options(MYSQL *mysql, enum mysql_option option, const char *arg) Description Can  be  used  to  set  extra  connect  options  and  a ect  behaviour  for  a  connection.   This function may be called multiple times to set several options. mysql_options()  should  be  called  after  mysql_init()  and  before  mysql_connect()  or mysql_real_connect(). The option argument is the option that you want to set; the arg argument is the value for the option.  If the option is an integer, then arg should point to the value of the integer. Possible options values: Option Argument type     Function MYSQL_OPT_CONNECT_TIMEOUT unsigned int * Connect timeout in seconds. MYSQL_OPT_COMPRESS Not used Use the compressed client/server protocol. MYSQL_OPT_LOCAL_INFILE optional pointer to uint If   no   pointer   is   given   or   if pointer  points  to  an  unsigned int != 0   the   command   LOAD LOCAL INFILE is enabled. MYSQL_OPT_NAMED_PIPE Not used Use  named  pipes  to connect  to a MySQL server on NT. MYSQL_INIT_COMMAND char * Command    to    execute    when connecting     to     the     MySQL server.    Will  automatically  be re-executed when reconnecting. MYSQL_READ_DEFAULT_FILE char * Read  options  from  the  named option     le    instead    of    from `my.cnf'. MYSQL_READ_DEFAULT_GROUP char * Read  options  from  the  named group   from   `my.cnf'   or   the le speci ed with  MYSQL_READ_ DEFAULT_FILE. Note that the group client is always read if you use MYSQL_READ_DEFAULT_FILE or MYSQL_ READ_DEFAULT_GROUP. The speci ed group in the option le may contain the following options: Option Description
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    MERCHANT ACCOUNTS
    DEDICATED SERVERS
    E-COMMERCE HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN
    REGISTRATION
    MANAGE
    YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    Corporate Info
    ABOUT US
    OUR NETWORK
    CONTACT US
    SITE MAP
    Copyright © 2002 Dyntex Group, Inc. All Rights Reserved
  • Return to Table of Contents
  • Back to top

  • Web Hosting: Manuals & FAQ's

    1. Unix-Based Web Hosting
    2. Unix Dedicated Servers
    3. Windows Dedicated Servers
    4. CuteFTP User’s Guide
    5. CuteHTML User’s Guide
    6. WS_FTP Pro User's Guide
    7. Miva Order User's Guide
    8. Miva Merchant User's Guide