Re: MySQL connection over SSH

2015-05-12 Thread chrismeek4542
(2003, "Can't connect to MySQL server on 'mcsdev.croft-it.com' (60)") -- https://mail.python.org/mailman/listinfo/python-list

MySQL connection over SSH

2015-05-12 Thread chrismeek4542
I am trying to connect to a remote MySQL Database over SSH. I am using paramiko and SQLAlchemy. I assume that my sqlalchemy engine is not going through the SSH tunnel. Here is what i have so far. Not sure where to go from here though. import paramiko from sqlalchemy import create_engine ssh = p

Re: adodb with mysql - connection string syntax for filepath

2007-09-18 Thread J. Clifford Dyer
On Tue, Sep 18, 2007 at 09:32:45AM -0400, Steve Holden wrote regarding Re: adodb with mysql - connection string syntax for filepath: > > Mridula Ramesh wrote: > > Hi. Firstly, thank you both very much for the response! > > > > Cliff, I did some more reading up about it

Re: adodb with mysql - connection string syntax for filepath

2007-09-18 Thread Steve Holden
Mridula Ramesh wrote: > Hi. Firstly, thank you both very much for the response! > > Cliff, I did some more reading up about it after you corrected me re > MySQL not being a _language_ but another means of storing data (would > you believe NONE of the connection tutorials actually said that?!)

Re: adodb with mysql - connection string syntax for filepath

2007-09-18 Thread Mridula Ramesh
Hi. Firstly, thank you both very much for the response! Cliff, I did some more reading up about it after you corrected me re MySQL not being a _language_ but another means of storing data (would you believe NONE of the connection tutorials actually said that?!) Anyway, now I have MySQL on my mac

Re: adodb with mysql - connection string syntax for filepath

2007-09-17 Thread Steve Holden
J. Cliff Dyer wrote: > Mridula Ramesh wrote: >> Dear all, >> >> Hi. I am not very tech-savvy so please pardon me if this is a stupid >> question: so far I have been googling for about 4 days to find help >> for this, so now I am desperate! :) >> >> How do you use adodb with mysql to connect to a fi

Re: adodb with mysql - connection string syntax for filepath

2007-09-17 Thread J. Cliff Dyer
Mridula Ramesh wrote: > Dear all, > > Hi. I am not very tech-savvy so please pardon me if this is a stupid > question: so far I have been googling for about 4 days to find help > for this, so now I am desperate! :) > > How do you use adodb with mysql to connect to a file that is on your > machine?

adodb with mysql - connection string syntax for filepath

2007-09-16 Thread Mridula Ramesh
Dear all, Hi. I am not very tech-savvy so please pardon me if this is a stupid question: so far I have been googling for about 4 days to find help for this, so now I am desperate! :) How do you use adodb with mysql to connect to a file that is on your machine? Also, could you please recommend to

Re: ERROR CLOSING CONNECTION: mysql connection close

2006-12-08 Thread Jerry Hill
On 8 Dec 2006 13:33:05 -0800, johnny <[EMAIL PROTECTED]> wrote: > I am getting following connection error from my python script: > > conn.close() > AttributeError: adodb_mysql instance has no attribute 'close' >From the sample code on the adodb documentation page, that should be spelled "conn.

ERROR CLOSING CONNECTION: mysql connection close

2006-12-08 Thread johnny
I am getting following connection error from my python script: conn.close() AttributeError: adodb_mysql instance has no attribute 'close' Here is my relevant code below: def worker(tq): while True: host, e = tq.get() c = ftplib.FTP(host) c.connect() try:

Re: mysql connection

2005-11-18 Thread Steve Holden
Python_it wrote: > How can I close more cursors at the END of my page, > after execute some scripts/functions. > > example: > I use one DB connection and 5 cursor actions. > > How can I close these connections/actions at the END of my page? > > > cursor.close() ==> 5 times?? > db.close() > If

mysql connection

2005-11-18 Thread Python_it
How can I close more cursors at the END of my page, after execute some scripts/functions. example: I use one DB connection and 5 cursor actions. How can I close these connections/actions at the END of my page? cursor.close() ==> 5 times?? db.close() -- http://mail.python.org/mailman/listinfo/

Re: Handling MySQL connection

2005-02-01 Thread Josh
Thanks for the help! I was able to work through it based on you example. It was lack of knowledge of the object class that was throwing me off. Josh -- http://mail.python.org/mailman/listinfo/python-list

Handling MySQL connection

2005-01-31 Thread Josh
Hi, First off, I am a newbie to Python and so far I must say that we're getting along pretty well. My schooling was is C/C++, but have been writing code in, dare I say it, VB, for the past 4 years. Here is the problem I have run across. I am using SPE w/WXGlade to setup the GUI, so it handled the