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

    80 MySQL Technical Reference for Version 4.0.3 Before you proceed with the source installation, check rst to see if our binary is available for your platform and if it will work for you.  We put a lot of e ort into making sure that our binaries are built with the best possible options. You need the following tools to build and install MySQL from source:    GNU gunzip to uncompress the distribution.    A reasonable  tar  to unpack the distribution.  GNU  tar  is known to work.  Sun  tar  is known to have problems.    A working ANSI C++  compiler.   gcc >= 2.95.2,  egcs >= 1.0.2 or  egcs 2.91.66, SGI C++, and SunPro C++ are some of the compilers that are known to work.  libg++ is not needed when using gcc.  gcc 2.7.x has a bug that makes it impossible to compile some perfectly legal C++  les, such as `sql/sql_base.cc'.  If you only have gcc 2.7.x, you must upgrade your gcc to be able to compile MySQL. gcc 2.8.1 is also known to have problems on some platforms, so it should be avoided if a new compiler exists for the platform. gcc >= 2.95.2 is recommended when compiling MySQL Version 3.23.x.    A good make program.  GNU make is always recommended and is sometimes required. If you have problems, we recommend trying GNU make 3.75 or newer. If you are using a recent version of gcc, recent enough to understand the -fno-exceptions option,  it is  very important  that you use it.   Otherwise,  you may compile a binary that crashes  randomly.   We  also  recommend  that  you  use  -felide-constructors  and  -fno- rtti along with -fno-exceptions.  When in doubt, do the following: CFLAGS="-O3" CXX=gcc CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static On most systems this will give you a fast and stable binary. If you run into problems, please always use mysqlbug when posting questions to mysql@lists. Even if the problem isn't a bug, mysqlbug gathers system information that will help others solve your problem.  By not using mysqlbug, you lessen the likelihood of getting a solution to your problem!  You will nd mysqlbug in the `scripts' directory after you unpack the distribution.  See Section 1.6.2.3 [Bug reports], page 26. 2.3.1  Quick Installation Overview The basic commands you must execute to install a MySQL source distribution are: shell> groupadd mysql shell> useradd -g mysql mysql shell> gunzip < mysql-VERSION.tar.gz | tar -xvf - shell> cd mysql-VERSION shell> ./configure --prefix=/usr/local/mysql shell> make
     

    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