How to Set Up MySQL Slow Query Logging on a VPS Without Slowing It Down

mysql slow query logging

A slow database rarely announces itself. Pages load a little later, the admin area drags, and CPU usage creeps up. MySQL slow query logging gives you a list of the exact queries behind that slowdown, with timings attached. The catch is that logging itself costs resources, and on a small VPS that cost matters. This … Baca Selengkapnya

How to Fix “Cannot Connect to the Docker Daemon” Errors on a VPS

cannot connect to the docker daemon

You type docker ps on your VPS, hit Enter, and instead of a container list you get: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? The message looks alarming, but it rarely means Docker is broken beyond repair. In most cases the cannot connect to the docker daemon error means … Baca Selengkapnya

How to Check MySQL Table Sizes and Find What Is Eating Your Disk

check mysql table sizes

When a VPS disk fills up overnight, MySQL is usually the first suspect. WordPress sites, logs, and old tables grow quietly for months, then one morning the site throws a database error. The fix starts with facts, not guesses. To check MySQL table sizes, run one query against information_schema and you get a ranked list … Baca Selengkapnya

How to Self-Host Immich for Photo Backups on Your VPS

self-host immich for photo backups

Google Photos used to feel free until the storage meter started climbing and the bill followed. If you run a VPS already, you can move your photo backups home and keep the originals on hardware you control. Self-host Immich for photo backups and you get face recognition, timeline search, shared albums, and automatic uploads from … Baca Selengkapnya