Bursa Bilgisayar

Mysql Slow Query Loglarını Etkinleştirmek

my.cnf dosyasi icine asagidaki satirlari ekleyerek veya # isaretlerini kaldirarak acabilirsiniz.

log_slow_queries        = /var/log/mysql/mysql-slow.log

<span id="more-1202"></span>

long_query_time = 1
/var/log/mysql/

klasoru yoksa

mkdir mysql

komutuyla klasoru oluşturalım ve izinlerini

chow mysql.adm /var/log/mysql

seklinde verelim.

/etc/init.d/mysqld restart

Related posts

177 thoughts on “Mysql Slow Query Loglarını Etkinleştirmek

  1. Hi! This is my first visit to your blog! We are a team of volunteers and starting a new initiative in a community in the same niche. Your blog provided us useful information to work on. You have done a wonderful job!|

  2. Great post. I was checking constantly this blog and I’m impressed! Very helpful info particularly the last part 🙂 I care for such information a lot. I was seeking this particular information for a long time. Thank you and good luck.

  3. Thanks for your article on this weblog. From my own personal experience, periodically softening upward a photograph might provide the wedding photographer with an amount of an artistic flare. Sometimes however, that soft cloud isn’t exactly what you had in your mind and can usually spoil a normally good photo, especially if you thinking about enlarging it.

  4. hello!,I love your writing so so much! percentage we communicate more about your article on AOL? I require a specialist in this space to solve my problem. May be that is you! Looking ahead to look you.

  5. Appreciate this post. Let me try it out.

Bir Cevap Yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

 Characters available