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

    Chapter 2:  MySQL Installation 109 If  you  experience  any  strange  problems  during  the  installation  of  MySQL,  or  with  some common utilties hanging, it is very likely that they are either library or compiler related. If this is the case, using our binary will resolve them. One known problem with the binary distribution is that with older Linux systems that use libc (like RedHat 4.x or Slackware), you will get some non-fatal problems with hostname resolution.  See Section 2.6.1.1 [Binary notes-Linux], page 109. When using LinuxThreads you will see a minimum of three processes running.  These are in fact threads.  There will be one thread for the LinuxThreads manager, one thread to handle connections, and one thread to handle alarms and signals. Note  that  the  Linux  kernel  and  the  LinuxThread  library  can  by  default  only  have  1024 threads.   This  means  that  you  can  only  have  up  to  1021  connections  to  MySQL  on  an unpatched system.  The page  http://www.volano.com/linuxnotes.html  contains infor- mation how to go around this limit. If you see a dead mysqld daemon process with ps, this usually means that you have found a bug in MySQL or you have a corrupted table.  See Section A.4.1 [Crashing], page 640. To get a core dump on Linux if mysqld dies with a SIGSEGV signal, you can start mysqld with the  --core-file  option.   Note that you also probably need to raise the  core file size by adding ulimit -c 1000000 to safe_mysqld or starting safe_mysqld with --core- file-sizes=1000000.  See Section 4.7.2 [safe_mysqld], page 274. If you are linking your own MySQL client and get the error: ld.so.1: ./my: fatal: libmysqlclient.so.4: open failed: No such file or directory When executing them, the problem can be avoided by one of the following methods:    Link the client with the following ag (instead of -Lpath):  -Wl,r/path-libmysqlclient    Copy libmysqclient.so to `/usr/lib'.    Add the pathname of the directory where  libmysqlclient.so  is located to the  LD_ RUN_PATH  environment variable before running your client. If you are using the Fujitsu compiler (fcc / FCC) you will have some problems compiling MySQL because the Linux header les are very gcc oriented. The following configure line should work with fcc/FCC: CC=fcc CFLAGS="-O -K fast -K lib -K omitfp -Kpreex -D_GNU_SOURCE \ -DCONST=const -DNO_STRTOLL_PROTO" CXX=FCC CXXFLAGS="-O -K fast -K lib \ -K omitfp -K preex --no_exceptions --no_rtti -D_GNU_SOURCE -DCONST=const -Dalloca=__builtin_alloca -DNO_STRTOLL_PROTO \ '-D_EXTERN_INLINE=static __inline'" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --disable-shared \ --with-low-memory 2.6.1.1  Linux Notes for Binary Distributions MySQL needs at least Linux Version 2.0. Warning:  We  have  reports  from  some  MySQL users  that  they  have  got  serious  stability problems with MySQL with Linux kernel 2.2.14.  If you are using this kernel you should
     

    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