Hallo,
gibt es eine Möglichkeit im laufenden mySQL Server die my.cnf neu einzulesen und zwar so, dass bestehende Verbindungen zum mySQL Server nicht beendet werden und neue Threads mit den neuen Einstellungen aus der my.cnf gestartet werden und die alten nach und nach beendet werden...
mySQL my.cnf reloaden?
-
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
-
- Userprojekt
- Posts: 7066
- Joined: 2002-10-09 14:30
- Location: Dorsten
- Contact:
Re: mySQL my.cnf reloaden?
Theoriehalber sollte ein SIGHUP auch beim MySQL zum gewünschten Ergebnis führen.
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
Re: mySQL my.cnf reloaden?
mmmh, laut Doku sollte das nicht reichen:
LOGS LOGS:
Closes and reopens all log files. If you have specified an update log file or a binary log file without an extension, the extension number of the log file will be incremented by one relative to the previous file. If you have used an extension in the file name, MySQL will close and reopen the update log file. See section 4.10.3 The Update Log. This is the same thing as sending the SIGHUP signal to the mysqld server.
-
- Posts: 1117
- Joined: 2002-09-27 00:54
- Location: Hannover
- Contact:
Re: mySQL my.cnf reloaden?
Ich habe jetzt mal ein set global versucht, und es *scheint* zu funktionieren