The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Compiling MySQL

Discussion in 'General Discussion' started by EchoHost, Aug 10, 2009.

  1. EchoHost

    EchoHost Well-Known Member

    Joined:
    Jul 27, 2003
    Messages:
    52
    Likes Received:
    0
    Trophy Points:
    6
    For compiling mysql, what are the different configure parameters I have to put in so it works with cPanel properly?
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel/WHM automatically installs MySQL 5.0 for you when you install cPanel/WHM. Is there any particular reason you're looking to compile MySQL manually?
     
  3. WEBDOMAIN.com

    WEBDOMAIN.com Active Member

    Joined:
    Jun 29, 2007
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Twitter:
  4. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    The specified limit is not specific to cPanel; the provided precompiled binary packages (RPMS) are simply using the standard default in MySQL. If required, MySQL may be recompiled using source RPMs (SRPMS). Once a source RPM is installed its "spec" file (e.g., at a path of "/usr/src/redhat/SPECS/mysql.spec") may be edited to modify the configure options as desired, followed by building new RPMs with the intended modification applied and ready for installation. Similar to how the script "mysqlup" obtains source RPMs when using the CLI option "--source" it is also possible to manually download MySQL source RPMs; however, please be aware that non-standard modifications would be performed at one's own risk and issues arising from the customization may not be supported, including using MySQL versions not officially offered for the applicable build tree (as verbosely detailed in this text file).
     
    #4 cPanelDon, Jan 30, 2010
    Last edited: Jan 30, 2010
  5. WEBDOMAIN.com

    WEBDOMAIN.com Active Member

    Joined:
    Jun 29, 2007
    Messages:
    35
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Europe
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thank you Don. It makes sense.
    However, it seems MySQL 5.1 is more flexible than ever and I was under the impression it would have been easier for everybody if it was possible to add few parameters during the compile process (like this --with-max-indexes) through cPanel. Without the needs (and the risks) to go with unsupported source RPMs.
     
Loading...

Share This Page