Enable the slow query log Print

  • 1

log-slow-queries=/var/lib/mysql/slow.log

touch /var/lib/mysql/slow.log
chmod 660 /var/lib/mysql/slow.log
chown mysql:mysql /var/lib/mysql/slow.log

mysqlcheck --auto-repair --check --optimize --all-databases

Дали Ви помогна овој одговор?
Back

Cookies & Privacy Policy?

There are no cookies used on this site, but if there were this message could be customised to provide more details. Click the accept button below to see the optional callback in action...

More information
Select cookies to accept