Current time: 09-28-2024, 05:51 AM Hello There, Guest! (LoginRegister)


Post Reply 
mysql-log und allgemeine Anregung
Author Message
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: mysql-log und allgemeine Anregung
Hi Sebezahn

zum MySQL: das dürfte Standard sein von der Distribution, da ispCP nichts and der MySQL-server Config ändert.
schau mal in /etc/mysql/my.cnf (Debian) rein, da gibt's diesen Block:

Quote:# The following can be used as easy to replay backup logs or for replication.
#server-id = 1
log_bin = /var/log/mysql/mysql-bin.log
# WARNING: Using expire_logs_days without bin_log crashes the server! See README.Debian!
expire_logs_days = 10
max_binlog_size = 100M
#binlog_do_db = include_database_name
#binlog_ignore_db = include_database_name

das sollte eigtnlich alles regeln in sachen MySQL-Log - wenn du die log_bin-Zeile kommentierst (und auch die expire - siehe Text darber :-) und MySQL restartest, dann sollte das Loggen ganz verschwinden.

Log_Bin loggt nur INSERTs und UPDATEs - für eine DB Replikation... wenn eine Website jedoch dauernd updatet, dann nervt das (allerdings würde ich mich fragen, ob das wirklich notwendig ist...)

Gruss Joxi
(This post was last modified: 04-30-2008 09:51 PM by joximu.)
04-30-2008 09:50 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: mysql-log und allgemeine Anregung - joximu - 04-30-2008 09:50 PM

Forum Jump:


User(s) browsing this thread: 3 Guest(s)