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

    78 MySQL Technical Reference for Version 4.0.3 or shell> bin/mysqld_safe --user=mysql & if you are running MySQL 4.x You can add new users using the  bin/mysql_setpermission  script if you install the  DBI and Msql-Mysql-modules Perl modules. A more detailed description follows. To  install  a  binary  distribution,  follow  these  steps,  then  proceed  to  Section  2.4  [Post- installation], page 91, for post-installation setup and testing: 1.   Pick the directory under which you want to unpack the distribution,  and move into it.    In  the  following  example,  we  unpack  the  distribution  under  `/usr/local'  and create a directory `/usr/local/mysql' into which MySQL is installed.  (The following instructions, therefore, assume you have permission to create les in `/usr/local'.  If that directory is protected, you will need to perform the installation as root.) 2.   Obtain a distribution le from one of the sites listed in Section 2.2.1 [Getting MySQL], page 69. MySQL binary distributions are provided as compressed tar archives and have names like `mysql-VERSION-OS.tar.gz', where VERSION is a number (for example, 3.21.15), and  OS  indicates the type of operating system for which the distribution is intended (for example, pc-linux-gnu-i586). 3.   If  you  see  a  binary  distribution  marked  with  the  -max  sux,  this  means  that  the binary  has  support  for  transaction-safe  tables  and  other  features.   See  Section  4.7.5 [mysqld-max], page 285.  Note that all binaries are built from the same MySQL source distribution. 4.   Add a user and group for mysqld to run as: shell> groupadd mysql shell> useradd -g mysql mysql These commands add the  mysql  group and the  mysql  user.  The syntax for  useradd and  groupadd  may  di er  slightly  on  di erent  versions  of  Unix.   They  may  also  be called adduser and addgroup.  You may wish to call the user and group something else instead of mysql. 5.   Change into the intended installation directory: shell> cd /usr/local 6.   Unpack the distribution and create the installation directory: shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf - shell> ln -s full-path-to-mysql-VERSION-OS mysql The rst command creates a directory named `mysql-VERSION-OS'.  The second com- mand makes a symbolic link to that directory.  This lets you refer more easily to the installation directory as `/usr/local/mysql'. 7.   Change into the installation directory: shell> cd mysql You will nd several les and subdirectories in the mysql directory. The most important for installation purposes are the `bin' and `scripts' subdirectories.
     

    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