detecting that a SQL db is running

Josh Bloom joshbloom at gmail.com
Fri Dec 1 15:34:39 EST 2006


I think the main point is that your Python code should be written in such a
way that when you attempt to connect to your local MSDE it will timeout
correctly instead of hanging.

Do you have a loop somewhere that just keeps retrying the connection instead
of giving up at some point?

Here are a couple of links to bits o code, that you can use to see whats
running on your local machine.
http://blog.dowski.com/2003/12/20/getting-at-processes-with-python-and-wmi/
http://mail.python.org/pipermail/python-win32/2001-November/000155.html
Search the resulting lists for whatever name MSDE is supposed to run as.

-Josh

On 12/1/06, bill ramsay <blah at blahdeblah> wrote:
>
> Dennis
>
> none of this matters,  all i am trying to find out is whether or not
> the local MSDE is actually running.
>
> I put all the other bits in there to try and put some background to
> it.
>
> kind regards
>
> bill
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20061201/7ca32779/attachment.html>


More information about the Python-list mailing list