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.

mysql and phpmyadmin

Discussion in 'Database Discussions' started by tmvnews, Jun 26, 2002.

  1. tmvnews

    tmvnews Well-Known Member

    Joined:
    Apr 5, 2002
    Messages:
    128
    Likes Received:
    0
    Trophy Points:
    16
    Can i upgrade these to the latest verstion without messing cpanel up??

    Thank you

    P.S i did submit a TT before i posted this and tried to search but didn't find anything and didn't get a reply
     
  2. mickalo

    mickalo Well-Known Member

    Joined:
    Apr 16, 2002
    Messages:
    765
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    N.W. Iowa
    Do-able

    You can install MySQL in a different location, either by using the binary
    or source distribution from MySQL. As the Cpanel uses the RPM install and
    installs MySQL in the default location, /var/lib/mysql.

    We did this on our server as we run two differnet MySQL server/clients
    for production and development projects. We removed the RPM version and
    had to make various modification to the Cpanel skins.

    After removing the RPM MySQL version, (rpm -e MySQL),.. we had to create
    a symbolic link from the /tmp/mysql.sock to /var/lib/mysql/mysql.sock.

    Or if you want to leave the MySQL installed for the Cpanel. Then simply
    install a second copy, using a differnet socket and TCP/IP configuration
    and setup and config a my.cnf file in the new MySQL base directory.

    I recommend building from the source distro, alot more flexibility.

    Hope this helps.

    Mickalo
     
Loading...

Share This Page