Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-17-2007, 10:47 PM   #1
LQ Newbie
Registered: Oct 2007
Location: Hong Kong
Posts: 21

Rep: Reputation: 0
Unhappy How to have Mysql to start query logs

Dear All,

In binary installation of mysql, the logging start by:
$MYSQL_HOME/bin/mysqld_safe --log --user=mysql &

I have moved to a new Fedora server and use the rpm to install Mysql.
It is start by:
/etc/rc.d/init.d/mysqld start

I cannot start the logging by adding --log option. How can it be invoked in a rpm installation?
Please help.

Old 10-18-2007, 09:02 PM   #2
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
You can add this line to my.cnf:


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
help with mysql query: return nth rows in query hawarden Programming 2 07-31-2006 06:36 PM
mySQL query help ezra143 Programming 3 04-25-2005 03:17 PM
MySQL++ Query jimbob8483 Programming 1 12-15-2004 06:47 AM
Mysql Error: Lost Connection to Mysql during query ramnath Programming 5 11-18-2003 12:27 PM
mysql query ? shaahul Linux - Software 1 09-06-2003 03:35 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:16 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration