[Twisted-Python] Mysql and adbapi

2014-10-20 Thread aft
Hi, I'm trying to run the following program : from twisted.enterprise import adbapi dbpool = adbapi.ConnectionPool("MySQLdb", "khalid_sultaln", "root", "mysql") def xmlValues() : return dbpool.runQuery("SELECt * from xml_vaules limit 1") def printResult(l): print type(l) print l[0]

Re: [Twisted-Python] Mysql and adbapi

2014-10-20 Thread aft
On Mon, Oct 20, 2014 at 6:02 PM, HawkOwl wrote: > > On 20 Oct 2014, at 19:55, aft wrote: > > > > But its not printing anything. What exactly i'm doing wrong? > > Hi, > > You haven’t started the reactor, so nothing has “started”. It’s just > sitting