<< 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 77 FreeBSD 4.4-stable i386 with gcc 2.95.3 CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno- rtti" ./configure --prefix=/usr/local/mysql "--with-comment=Official MySQL binary" --with-extra-charsets=complex "--with-server-suffix=" --enable-thread-safe-client --enable-local-infile --enable-assembler --with-named-z-libs=not-used --disable-shared Anyone who has more optimal options for any of the preceding con gurations listed can always mail them to the developer's mailing list at internals@lists.mysql.com. RPM  distributions  prior  to  MySQL  Version  3.22  are  user-contributed.   Beginning  with Version 3.22, the RPMs are generated by us at MySQL AB. If you want to compile a debug version of MySQL, you should add  --with-debug  or  -- with-debug=full to the preceding con gure lines and remove any -fomit-frame-pointer options. For the Windows distribution, please see Section 2.1.2 [Windows installation], page 66. 2.2.7  Installing a MySQL Binary Distribution See also Section 2.1.2.1 [Windows binary installation], page 67Section 2.1.1 [Linux-RPM], page 65, and Section 8.4.7 [Building clients], page 604. You need the following tools to install a MySQL binary distribution:    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. An alternative installation method under Linux is to use RPM (RedHat Package Manager) distributions.  See Section 2.1.1 [Linux-RPM], page 65. 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  `bin'  directory  after  you  unpack  the distribution.  See Section 1.6.2.3 [Bug reports], page 26. The basic commands you must execute to install and use a MySQL binary distribution are: shell> groupadd mysql shell> useradd -g mysql mysql shell> cd /usr/local shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf - shell> ln -s full-path-to-mysql-VERSION-OS mysql shell> cd mysql shell> scripts/mysql_install_db shell> chown -R root   . shell> chown -R mysql data shell> chgrp -R mysql . shell> bin/safe_mysqld --user=mysql &
     

    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