# SlowQuery Analyzing

{% embed url="https://blog.toadworld.com/2017/08/09/logging-and-analyzing-slow-queries-in-mysql" %}





```
sudo chown -R mysql:mysql /var/lib/mysql/
```
