[Twisted-Python] Failure to connect remotely to MySQL database

gary clark burslem2001 at yahoo.com
Thu Jun 16 19:52:52 EDT 2011


OK needed to allow port 3306 for mysql. Grant accesses on the database.

Thanks,
Gary C


--- On Thu, 6/16/11, gary clark <burslem2001 at yahoo.com> wrote:

> From: gary clark <burslem2001 at yahoo.com>
> Subject: [Twisted-Python] Failure to connect remotely to MySQL database
> To: "Twisted general discussion" <twisted-python at twistedmatrix.com>
> Date: Thursday, June 16, 2011, 5:46 PM
> Hello,
> 
> I am trying to connect a twisted server to a remote machine
> which contains the mysql database, unfortunately I cannot
> access the database am am seeing error:
> 
> Failed to load application: Cant connect to MySQL on server
> 192.168.1.10.
> 
> db=create_engine('mysql://root:pwd@192.168.1.10/database',echo=True)
> 
> The databse machine has a number of restrictions on the
> firewall. I can ping the database machine and can see the
> that mysqld is running and enabled. What need to be open and
> enabled to access the mysql server from another machine i.e
> what port and connection type.
> 
> I dont see anything in the mysqld log.
> 
> Cheers,
> Gary C
> 
> 
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
> 



More information about the Twisted-Python mailing list