User Tools

Site Tools


wordpress

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wordpress [2009/08/07 06:24] suapapawordpress [2013/08/03 05:04] (current) – external edit 127.0.0.1
Line 12: Line 12:
 mport MySQLdb mport MySQLdb
  
-db = MySQLdb.connect(db='suapapa_blog', user='blog_admin', passwd='enakflxhRl', host='localhost')+db = MySQLdb.connect(db='suapapa_blog', user='blog_admin', passwd='******', host='localhost')
 c = db.cursor() c = db.cursor()
 c.execute('DELETE FROM wp_posts WHERE post_type = "revision"') c.execute('DELETE FROM wp_posts WHERE post_type = "revision"')
wordpress.1249626242.txt.gz · Last modified: 2013/08/03 05:04 (external edit)