Mysql Sorgu Log’larını Listeleme

Merhaba Mysql db’mizde query loglarını tablo veya txt, log gibi dosyalarda saklayabiliriz. Ben bu örnekte tabloda saklama yöntemini set ettim dilerseniz küçük bir sh ile logları düzenli alıp saklayabilirsiniz.

SET GLOBAL log_output = ‘TABLE’;
SET GLOBAL general_log = ‘ON’;
select * from mysql.general_log;

 

 

Görüşmek üzere..

 

Deniz Parlak

Hi, I'm a Computer Engineering student in Dumlupınar University.I will graduate next year. I did an internship TurkNet Telecominication Company in 2018 June- 2018 September. I had experience Linux/Unix system, SQL Server Management , SSRS, Mysql Database Management,Troubleshooting performance issues in Linux. I also interested Oracle database and technologies. I want to work as Oracle DBA after my University. I am practicing Unix, Exadata, Orace Cloud, Oracle RAC, Dataguard, EBS, Oracle BI and etc and i hope the articles will be helpful. Any questions, or support please write email deniz.parlak@yahoo.com