If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > how to see mysql log file..

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-26-11, 03:13
rohitamitpathak rohitamitpathak is offline
Registered User
 
Join Date: Feb 2011
Location: india- new delhi
Posts: 31
how to see mysql log file..

Good Afternoon All,
I read out that Mysql server create a log file where he keep record of all activities- like when and what query execute. I want to see it, Can anybody tell me where it exist in my system? how can i read it?
basically i need to make backup of database with different input [ backup between two dates] so i think i need to use log file here, that's why i want to go for it...
when i wondered i got that binary log file keep username and password information too[ if any query require of this] so it is very secure, not easy seen it!!
i am a admin of my system , how i can see it? when i try to open var/log/mysql.log it is empty....

----------------------------------------------------------------------------------------------------------------------------
when i wondered a lot i got that there are a my.cnf file, and i should need to set a path of log , i create a file a.log on the desktop ,i open the my.cnf and change the path [ visible next time] and then when i execute the query a.log still emply.
one thing is more logically the path of log is var/log/mysql/mysql.log but when i m trying to open mysql folder, it flashed a messege not accessible by me. how can i open it? how i can see the log file.
Thanking you in advance....
__________________
Amit Pathak
S/w Developer
Zero Systems Pvt Ltd..

Last edited by rohitamitpathak; 03-28-11 at 02:17. Reason: i got something more
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On