<< 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 135 shell> CFLAGS=-DDONT_USE_THR_ALARM \ CXXFLAGS=-DDONT_USE_THR_ALARM \ ./configure ... This doesn't a ect the performance of MySQL, but has the side e ect that you can't kill clients that are \sleeping" on a connection with mysqladmin kill or mysqladmin shutdown. Instead, the client will die when it issues its next command. With gcc 2.95.2, you will probably run into the following compile error: sql_acl.cc:1456: Internal compiler error in `scan_region', at except. Please submit a full bug report. To x this you should change to the sql directory and do a \cut and paste" of the last gcc line, but change  -O3  to  -O0  (or add  -O0  immediately after  gcc  if you don't have any  -O option on your compile line).  After this is done you can just change back to the top-level directly and run make again. 2.6.6.8  SGI Irix Notes If you are using Irix Version 6.5.3 or newer mysqld will only be able to create threads if you run it as a user with CAP_SCHED_MGT privileges (like root) or give the mysqld server this privilege with the following shell command: shell> chcap "CAP_SCHED_MGT+epi" /opt/mysql/libexec/mysqld You may have to unde ne some things in `config.h' after running configure and before compiling. In some Irix implementations, the alloca() function is broken.  If the mysqld server dies on some SELECT statements, remove the lines from `config.h' that de ne HAVE_ALLOC and HAVE_ALLOCA_H.  If mysqladmin create doesn't work, remove the line from `config.h' that de nes HAVE_READDIR_R.  You may have to remove the HAVE_TERM_H line as well. SGI recommends that you install all of the patches on this page as a set: http://support.sgi indigo.rps.html At the very minimum, you should install the latest kernel rollup, the latest rld rollup, and the latest libc rollup. You de nitely need all the POSIX patches on this page, for pthreads support: http://support.sgi.com/surfzone/patches/patchset/6.2_posix.rps.html If you get the something like the following error when compiling `mysql.cc': "/usr/include/curses.h", line 82: error(1084): invalid combination of Type the following in the top-level directory of your MySQL source tree: shell> extra/replace bool curses_bool < /usr/include/curses.h \ > include/curses.h shell> make There have also been reports of scheduling problems.  If only one thread is running, things go slow.  Avoid this by starting another client.  This may lead to a 2-to-10-fold increase in execution speed thereafter for the other thread.  This is a poorly understood problem with Irix threads; you may have to improvise to nd solutions until this can be xed. If you are compiling with gcc, you can use the following configure command:
     

    Customer Support CentreMySQL Reference Manual

    Web Hosting Services
    UNIX WEB HOSTING
    SUPPORT & FAQ's
    TERMS OF USE
    Domain Services
    DOMAIN REGISTRATION
    MANAGE YOUR ACCOUNT
    SUPPORT & FAQ's
    TERMS OF USE
    SITE MAP
    Home
    Hosting Plans | Domain Registration | About Us | Contact Us | Site Map
    Terms of Use | Privacy Policy | Guarantees
    Merchant Accounts

    SpiritHost - web hosting for spiritual and education sites
    SpiritHit.com - Religious and Spiritual Portal
  • 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