Using mysqladmin in Jailshell

Peter Verrill

Verified User
Joined
Nov 19, 2003
Messages
46
Hey,

A customer has been nagging me to fix this though I can't figure out how.

When in jailshell and trying to use mysqladmin the following error is received:
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'

I know why this error occurs (because mysql.sock isn't there relative to the jailshell) but can't figure out a way to make it work.

Any Suggestions?

Peter Verrill
 
While there may be other ways to do it, the only way I know to create functionality with a jail is to recreate the entire environment relative to the jail.

Jeff
 
Back
Top