mysql python Newbie Question

Andrew na
Mon Jan 5 18:17:06 CET 2004

Ok I was able to connect to my local server but how do I find the host
address or port number of my remote server

The host address I usually use is localhost on my remote server

I searched google several times but could not  find a way to look it up
since my site uses php I tried phpinfo() but it did not show me anything

I found the ip address of my web site through nslookup

and tried to make a connection with that but to know avail

How do I lookup my host ipaddress and mysql port

Thanks in advance


"Dennis Lee Bieber" <wlfraed at> wrote in message
news:70hkc1-r33.ln1 at
> "Andrew" <na> fed this fish to the penguins on Sunday 04 January 2004
> 17:35 pm:
> >
> > how do I connect to a DB server that is not on my computer through
> > python to access my records.
> >
>         Well, in most cases, in the same way you connect to a local
> You specify the host (or IP) address of the machine running the server
> (and maybe the port number if it is not on the standard port) when
> issuing the connect call.
> -- 
>  > ============================================================== <
>  >   wlfraed at  | Wulfraed  Dennis Lee Bieber  KD6MOG <
>  >      wulfraed at     |       Bestiaria Support Staff       <
>  > ============================================================== <
>  >        Bestiaria Home Page:         <
>  >            Home Page:             <

More information about the Python-list mailing list