Re: my.cnf vom MySQL

From: Andreas Klinger <a.klinger(at)s-v.de>
Date: Wed, 12 Jun 2002 09:36:38 +0200

Hallo,

> Ich habe Mysql aus den Ports installiert. Leider kann ich keine my.cnf
> finden. Reicht es wenn ich einfach eine entsprechend erstelle und
> in /usr/local/etc ablege?

Beispieldateien findest du unter /usr/local/share/mysql

my-huge.cnf
my-large.cnf
my-medium.cnf
my-small.cnf

Die Kommentare in den Dateien sind hilfreich.

Kopieren zu my.cnf, modifizieren und in einem Pfad ablegen, in dem
MySQL danach sucht.

Auszug aus der MySQL Dokumentation (Kapitel 4.1.2)

MySQL reads default options from the following files on Unix:
Filename Purpose
/etc/my.cnf Global options
DATADIR/my.cnf Server-specific options
defaults-extra-file The file specified with --defaults-extra-file=#
~/.my.cnf User-specific options

DATADIR wär in dem Fall /var/db/mysql

Gruss,
Andreas

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Wed 12 Jun 2002 - 09:37:11 CEST

search this site