beyzad Posted September 17, 2012 Share Posted September 17, 2012 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 ) Thanks Quote Link to comment https://forums.phpfreaks.com/topic/268477-how-to-enable-logs-for-mysql/ Share on other sites More sharing options...
mikosiko Posted September 17, 2012 Share Posted September 17, 2012 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 Quote Link to comment https://forums.phpfreaks.com/topic/268477-how-to-enable-logs-for-mysql/#findComment-1378730 Share on other sites More sharing options...
beyzad Posted September 17, 2012 Author Share Posted September 17, 2012 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! Quote Link to comment https://forums.phpfreaks.com/topic/268477-how-to-enable-logs-for-mysql/#findComment-1378731 Share on other sites More sharing options...
fenway Posted September 18, 2012 Share Posted September 18, 2012 You can put your configuration file *anywhere* -- there's a known order for where to look, though. Quote Link to comment https://forums.phpfreaks.com/topic/268477-how-to-enable-logs-for-mysql/#findComment-1379056 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.