php forum
php mysql forum
php mysql smarty
 
Page 2 of 2 < 1 2
Topic Options
#233191 - 02/06/03 11:13 AM Re: tuning help please [Re: Lerosia]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Isn't very complicated.<br />See this chapter of the mysql documentation.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#233192 - 02/07/03 08:21 AM Re: tuning help please [Re: -Fusion-]
SUnruh Offline
User

Registered: 01/13/03
Posts: 36
Loc: Leander,TX
here is what i changed in my.cnf, then rebooted.<br /><br />[safe_mysqld]<br />err-log=/var/log/mysqld.log<br />pid-file=/var/run/mysqld/mysqld.pid<br />log-slow-queries=/var/log/mysqlslow.log<br /><br />i have one slow log and it did NOT get put in the new log file. what did i mess up?

Top
#233193 - 02/07/03 09:08 AM Re: tuning help please [Re: Lerosia]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
You also need to start the mysql daemon with --log-slow-queries for it to work.
_________________________
/Gardener | Complete list of my mods

Top
#233194 - 02/07/03 02:11 PM Re: tuning help please [Re: c0bra]
SUnruh Offline
User

Registered: 01/13/03
Posts: 36
Loc: Leander,TX
so do i need to dupe those 3 lines into<br />[mysqld]<br /><br />stanza, correct?

Top
#233195 - 02/07/03 02:55 PM Re: tuning help please [Re: Lerosia]
Gardener Offline
Addict

Registered: 05/11/99
Posts: 1956
Loc: Sweden, Uppsala
Yeah, that is probably necessary.
_________________________
/Gardener | Complete list of my mods

Top
#233196 - 02/11/03 07:32 PM Re: tuning help please [Re: c0bra]
SUnruh Offline
User

Registered: 01/13/03
Posts: 36
Loc: Leander,TX
i did the following:<br />[mysqld]<br />err-log=/var/log/mysqld.log<br />pid-file=/var/run/mysqld/mysqld.pid<br />log-slow-queries=/var/log/mysqlslow.log<br /><br />the database wouldn't start. ack!<br /><br />so i changed it to:<br />[mysqld]<br />err-log=/var/log/mysqld.log<br />log-slow-queries=/var/log/mysqlslow.log<br /><br />still wouldn't start.<br /><br />so i nuked it all and went back to without it.<br /><br />what is the correct syntax for my.cnf?

Top
#233197 - 02/12/03 11:50 AM Re: tuning help please [Re: Lerosia]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
I just added one line in the mysqld section: <br /> <br />log-slow-queries = /var/lib/mysql/slow.query <br /> <br />and it works fine. <br />
_________________________
Running a community? -> Keep informed and take it to the next level

Top
#233198 - 02/19/03 07:39 PM Re: tuning help please [Re: Lerosia]
3DSHROOM_dup1 Offline
Journeyman

Registered: 04/17/02
Posts: 108
Loc: Texas
pid-file=/var/run/mysqld/mysqld.pid<br /><br />This is a required line...
_________________________
SacredShrooms.org

Top
Page 2 of 2 < 1 2


Who's Online
0 registered (), 26 Guests and 11 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Spell Check [beta]
by Bill B
Yesterday at 09:16 PM
PhotoPost BB Code Popup
by AllenAyres
Yesterday at 09:41 AM
Problems reading a lot of old posts here
by AllenAyres
Yesterday at 09:35 AM
Forum 'Trader Ratings'.
by AllenAyres
Yesterday at 09:33 AM
Customization needed
by Gizmo
11/12/08 12:28 PM
Team UBBDev Rides Again!
by AllenAyres
11/11/08 02:16 PM
Active Topics.
by AllenAyres
11/11/08 02:13 PM
New Mods
User Authentication Class
by
01/19/07 02:59 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
PhotoPost BB Code Popup
by
11/06/06 05:43 PM
Spell Check [beta]
by
10/17/06 09:24 PM
Newest Members
David DelMonte, nick1, Begbie, cenk, MATTO
13363 Registered Users
Top Posters
AllenAyres 25452
JoshPet 11330
Rick 8372
LK 7396
Lord Dexter 6503
Greg Hard 5533
Charles Capps 5438

 

 

 
fusionbb message board php hacks