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. Wow, superb weblog layout! How lengthy have you been running a blog for? you made blogging glance easy. The total glance of your site is excellent, let alone the content material!

  2. 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!|

  3. 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.

Bir Cevap Yazın

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

 Characters available