私は以下のコードを使用しようとします:
from twisted.enterprise import adbapi
dbpool = adbapi.ConnectionPool(
"MySQLdb",
db='test_db',
port='3306',
user='tester',
passwd='some_pass',
host='localhost',
cp_reconnect=True
)
dbpool.runQuery("INSERT INTO `htp_test` VALUES(NULL, 25, 'test')")
しかし、データはmysqlに挿入されず、エラーも表示されません。データの接続は良好です。