Jump to content

How to enable logs for MySQL


beyzad

Recommended Posts

Hi there.

 

I need my MySQL logs all queries with timestamp.

 

I'm tired of searching in variable sites. each site said something different!

 

So here are my server details. I hope you can help me:

 

Control Panel: Cpanel/WHM 11.30.5 (Build 3)

MySQL: 5.1.56-log

OS: CENTOS 5.8 i686 standard

 

Let me know if any other information are needed (Except root password :D)

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/268477-how-to-enable-logs-for-mysql/
Share on other sites

I'm tired of searching in variable sites. each site said something different!

 

did you check here?

 

http://dev.mysql.com/doc/refman/5.1/en/server-logs.html

 

Yes, but many pathes and files pointet to in that help are not same in Cpanel.

 

Also looks like my WHM version has one .cnf file for each user!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.