And little tip for the WordPress users out there

| 1 Comment

Akismet is having one hell of a time right now filtering out some of the spam I have been getting lately, so I had to manually run a SQL query to kill a bunch of spams. Here's a simple command you can run in your MySQL server to get rid of them: UPDATE wp_comments SET comment_approved = 'spam' WHERE comment_ID BETWEEN startIdNumber AND endIdNumber. You have to first run the commend SELECT * FROM wp_comments ORDER BY comment_ID DESC to find the latest spams, and substitute the appropriate numbers for startIdNumber and endIdNumber. In my case it was BETWEEN 2053 AND 2062.

Technorati tags: , .

1 Comment

[...] Esta solución la encontre después de buscar la manera más sencilla de eliminar cientos de mensajes escoria desde una consulta en SQL. [...]

Leave a comment

March 2010

Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      

Recent Entries

A window into the totalitarian mind of the left on freedom of religion
From Digg: Me: I'm not going to hold my breath waiting for the same liberal democrats who shriek about the…
Google's lossy compiler
Google's closure compiler service gets a little too frisky under ADVANCED_OPTIMIZATIONS. Original code: With advanced optimizations enabled, it was able…
The three purposes of the federal income tax law
Businesses will spend about 3.4 billion man-hours and individuals about 1.7 billion hours figuring out their taxes this year.…

Subscribe

Advertisements

OpenID accepted here Learn more about OpenID