#1 (permalink)  
Old 06-09-2009, 09:36 AM
Registered User
 
Join Date: Nov 2007
Posts: 95
wizzy420 is on a distinguished road
Adding /var/lib/mysql to virtfs mounts

Anyone know how to do this?

Once you make /var/lib/mysql a separate partition, all jailshell users lose access to the MySQL socket.

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-14-2009, 11:39 AM
Registered User
 
Join Date: Nov 2007
Posts: 95
wizzy420 is on a distinguished road
Gentle bump.

W
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-14-2009, 01:10 PM
Spiral's Avatar
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
I personally don't advise SSH access jailshell or otherwise unless absolutely
necessary and even then hold it in reserve because it opens up just far
too many security issues.

With that said though, the default restrictions for jailshell will not allow
for unix socket connections but you should still be able to access MySQL
using TCP connections using the hostname at port 3306.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
usr/sbin/mysqld--basedir=/--datadir=/var/lib/mysql--user=mysql--pid-file=/var/lib/mys toma1708 cPanel and WHM Discussions 1 07-07-2009 03:08 PM
Bind mounts under /home/virtfs? astopy cPanel and WHM Discussions 0 01-10-2009 01:33 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) neomas cPanel and WHM Discussions 12 06-21-2008 01:30 PM
Mysql fails with Can't connect to local MySQL server through socket '/var/lib/mysql/m noimad1 cPanel and WHM Discussions 1 04-21-2007 02:23 AM
Fix: Can't connect to local MySQL server through socket'/var/lib/mysql/mysql.sock'(2) Outofmymindyo cPanel and WHM Discussions 0 06-27-2004 03:53 AM


All times are GMT -5. The time now is 02:05 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc