<< 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 91    The MySQL source distribution for Windows, which can be downloaded from http://www Building MySQL 1.  Create a work directory (e.g., workdir). 2.  Unpack the source distribution in the aforementioned directory. 3.  Start the VC++ 6.0 compiler. 4.  In the File menu, select Open Workspace. 5.  Open the `mysql.dsw' workspace you nd on the work directory. 6.  From the Build menu, select the Set Active Configuration menu. 7.  Click over the screen selecting mysqld - Win32 Debug and click OK. 8.  Press F7 to begin the build of the debug server, libs, and some client applications. 9.  When the compilation nishes, copy the libs and the executables to a separate directory. 10.  Compile the release versions that you want, in the same way. 11.  Create the directory for the MySQL stu :  e.g., `c:\mysql' 12.  From the workdir directory copy for the c:\mysql directory the following directories:    Data    Docs    Share 13.  Create  the  directory  `c:\mysql\bin'  and  copy  all  the  servers  and  clients  that  you compiled previously. 14.  If you want, also create the `lib' directory and copy the libs that you compiled previ- ously. 15.  Do a clean using Visual Studio. Set up and start the server in the same way as for the binary Windows distribution.  See Section 2.1.2.2 [Windows prepare environment], page 67. 2.4  Post-installation Setup and Testing Once you've installed MySQL (from either a binary or source distribution),  you need to initialise the grant tables, start the server, and make sure that the server works okay.  You may also wish to arrange for the server to be started and stopped automatically when your system starts up and shuts down. Normally you install the grant tables and start the server like this for installation from a source distribution: shell> ./scripts/mysql_install_db shell> cd mysql_installation_directory shell> ./bin/safe_mysqld --user=mysql & For a binary distribution (not RPM or pkg packages), do this: shell> cd mysql_installation_directory shell> ./bin/mysql_install_db 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