<< 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

    90 MySQL Technical Reference for Version 4.0.3 shell> ./configure --with-mit-threads Building in a non-source directory is not supported when using MIT-pthreads because we want to minimise our changes to this code.    The checks that determine whether to use MIT-pthreads occur only during the part of the con guration process that deals with the server code.   If you have con gured the distribution using --without-server to build only the client code, clients will not know  whether  MIT-pthreads  is  being  used  and  will  use  Unix  socket  connections  by default.  Because Unix sockets do not work under MIT-pthreads on some platforms, this means you will need to use -h or --host when you run client programs.    When MySQL is compiled using MIT-pthreads, system locking is disabled by default for  performance  reasons.   You  can  tell  the  server  to  use  system  locking  with  the  -- external-locking  option.   This  is  only  needed  if  you  want  to  be  able  to  run  two MySQL server against the same data les (not recommended).    Sometimes the pthread  bind()  command fails to bind to a socket without any error message (at least on Solaris).  The result is that all connections to the server fail.  For example: shell> mysqladmin version mysqladmin: connect to server at '' failed; error: 'Can't connect to mysql server on localhost (146)' The solution to this is to kill the mysqld server and restart it.  This has only happened to us when we have forced the server down and done a restart immediately.    With MIT-pthreads, the  sleep()  system call isn't interruptible with  SIGINT  (break). This  is  only  noticeable  when  you  run  mysqladmin --sleep.   You  must  wait  for  the sleep() call to terminate before the interrupt is served and the process stops.    When linking, you may receive warning messages like these (at least on Solaris); they can be ignored: ld: warning: symbol `_iob' has differing sizes: (file /my/local/pthreads/lib/libpthread.a(findfp.o) value=0x4; file /usr/lib/libc.so value=0x140); /my/local/pthreads/lib/libpthread.a(findfp.o) definition taken ld: warning: symbol `__iob' has differing sizes: (file /my/local/pthreads/lib/libpthread.a(findfp.o) value=0x4; file /usr/lib/libc.so value=0x140); /my/local/pthreads/lib/libpthread.a(findfp.o) definition taken    Some other warnings also can be ignored: implicit declaration of function `int strtoll(...)' implicit declaration of function `int strtoul(...)'    We haven't gotten readline to work with MIT-pthreads.  (This isn't needed, but may be interesting for someone.) 2.3.7  Windows Source Distribution You will need the following:    VC++  6.0  compiler  (updated  with  4  or  5  SP  and  Pre-processor  package)  The  Pre- processor package is necessary for the macro assembler. More details at: http://msdn.
     

    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