no way to delete auth_messages

2013-03-08 Thread Yanhong Wu
Hi, I created an database router to try using multiple databases. I copied the example router in this page: https://docs.djangoproject.com/en/1.3/topics/db/multi-db/ . Almost everything is ok, however, it seems that I cannot delete an auth_message. The log said: DELETE command denied to user 'u

mysql slow query flooded with set timestamp = ; commit

2012-11-03 Thread Yanhong Wu
I'm using django 1.3, recently I found mysql slow query log was flooded by the following query: # User@Host: user[user] @ [192.168.1.10] # Thread_id: 2948369 Schema: db Last_errno: 0 Killed: 0 # Query_time: 6.705106 Lock_time: 0.00 Rows_sent: 0 Rows_examined: 0 Rows_affected: 0 Ro