From: Fred Lindberg Date: March 22 1999 2:17pm Subject: Re: help! List-Archive: http://lists.mysql.com/mysql/768 Message-Id: <19990322142002.5680.qmail@id.wustl.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit On Tue, 23 Mar 1999 16:50:04 +0800, cg wrote: >I can't connect to mysql server (localhost) after call >chroot().Can you help me ? Since you use chroot() I assume you have a good reason and that you're aware of the consequences, such as needing to provide a separate copy of the mysql client library within the jail. Also, connection to localhost uses a domain socket, which will be inaccessible to you after chroot, unless you take very special action. Use the full host name of the server to connect via TCP/IP instead. This is probably your problem. -Sincerely, Fred (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)