From owner-freebsd-questions@FreeBSD.ORG Fri Jan 4 16:52:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32D3716A417 for ; Fri, 4 Jan 2008 16:52:12 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from lists.lc-words.com (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9AA4813C459 for ; Fri, 4 Jan 2008 16:52:11 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from localhost (localhost.szalbot.homedns.org [127.0.0.1]) by lists.lc-words.com (Postfix) with ESMTP id 620153F405; Fri, 4 Jan 2008 17:52:09 +0100 (CET) Received: from lists.lc-words.com ([127.0.0.1]) by localhost (szalbot.homedns.org [127.0.0.1]) (amavisd-maia, port 10026) with ESMTP id 01004-01; Fri, 4 Jan 2008 17:52:08 +0100 (CET) Received: from [192.168.11.101] (87-205-61-226.adsl.inetia.pl [87.205.61.226]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.lc-words.com (Postfix) with ESMTP id 94C1D3F446; Fri, 4 Jan 2008 17:43:01 +0100 (CET) Message-ID: <477E6215.8030309@szalbot.homedns.org> Date: Fri, 04 Jan 2008 17:43:01 +0100 From: zbigniew szalbot User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Virus-Scanned: Maia Mailguard Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: changing mysql datadir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2008 16:52:12 -0000 Hello, Wonder if you know whether it is possible to change mysql server data dir from the default /var/db/mysql. I looked through my-small.cnf but found no option called datadir. If anyone knows how to change or where to look for compile-time options to set a custom datadir, I'd very much appreciate a link. I was able to find Windows-related advice how to change the default datadir. Thanks! Zbigniew Szalbot