Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

jailshell may break mysql... read on

Discussion in 'General Discussion' started by pfmartin, Jan 19, 2004.

  1. pfmartin

    pfmartin Well-Known Member

    Aug 18, 2001
    Likes Received:
    Trophy Points:
    It is important to point out that jailshell does NOT copy the /etc/my.cnf file to each user's virtual file system. This means that if you have any special settings in /etc/my.cnf that you want to be loaded globally, each jailshell user will NOT get this.

    For example, we use socket=/tmp/myql.sock as the location of the socket file for mysql. The default is /var/lib/mysql/mysql.sock. Therefore, in our case, it broke mysql command line access for users. We had to manually (with a script :) ) add our my.cnf to each users' virtual file system /etc/ directory.

    It would be great of the cpanel team to automatically link-to or copy the global my.cnf file to each user's virtual file system.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice