phpMyAdmin – Error #1040 – Too many connections

You might encounter the error message: “phpMyAdmin – Error #1040 – Too many connections” when you work in the phpMyAdmin interface. This probably is something you don’t have to worry about that much. It is likely a temporary issue with your database and reloading the page should solve the issue. However, if this error is one … 

 

Bulk remove YOURLS (spam) URLs

Is your YOURLS database getting a bit full of spam links and other crap? You can manually mass/bulk remove all those links by running a simple query on the MySQL database. You might want to replace DELETE with SELECT, so you can see what you will delete first. What this code does is: it selects …