Tag: sql

Hacks & Code Snippets

Downsize your WordPress database by removing transients

Transients are a simple and standardized way of temporarily storing cached data in the database by giving it a custom name and a timeframe after which it will expire and be deleted. But sometimes, transients set by WP and countless plugins can take a lot of space in your database. Using a simple SQL query, you can easily getting rid of them.

Hacks & Code Snippets

How to create a custom database error page

As a WordPress user, you probably had the infamous “Error establishing a database connection” error at least once. This error occurs when your database can’y handle a request. On cheap hosts, this can happen often. Today, I’m showing you how to give a custom style to this error page.