Anyone using Python to access PHPbb's MySQL database on a web server?

Sheila King sheila at spamcop.net
Sat Jun 7 07:02:34 CEST 2003


On Fri, 06 Jun 2003 13:50:08 GMT, "Robert Oschler"
<no_replies at fake_email_address.invalid> wrote in comp.lang.python in
article <k_0Ea.3971$xM5.2641647 at news2.news.adelphia.net>:

> "Sheila King" <sheila at spamcop.net> wrote in message
> news:bbln6k.1i0.1 at kserver.org...
> > On Wed, 04 Jun 2003 02:01:08 GMT, "Robert Oschler"
> > <no_replies at fake_email_address.invalid> wrote in comp.lang.python in
> > article <EpcDa.2207$xM5.2049592 at news2.news.adelphia.net>:
> >
> > > I want to run Python programs locally on my Win2k box to read/write the
> > > PHPbb.MySQL database(s).  I have Python 2.2.x with the venerable WingIDE
> > > debugger running on my Win2k box.  Has anyone done any Python
> programming
> > > like this?   If so, I'd be very interested in what you had to do to get
> it
> > > working, especially in the area of any available python
> libraries/modules to
> > > help with the MySQL access.
> >
> > You really do need to check with your host as to whether they allow IP
> > addresses outside of their local network to even access the MySQL server.
> >
> > I get quite a number of support incidents at the Service Desk where I
> work,
> > where clients just assume that because they have Telnet/SSH and FTP
> access,
> > that they can also connect to their MySQL databases remotely.
> >
> > We do not permit this, excepting that they order a special ODBC
> connection.
> >
> > Like I said, check first to see whether it is even permitted by your host.
> >
> > --
> > Sheila King
> > http://www.thinkspot.net/sheila/
> > http://www.k12groups.org/
> 
> Sheila,
> 
> Good info, thanks.  It looks like I may have to do some PHP work to create
> an interface to the MySQL database, if my ISP says "no" to remote access.
> 
> thx
> 

In that case, you might find that phpMyAdmin will fit the bill quite
nicely. Saves you from re-inventing the wheel.

-- 
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org/




More information about the Python-list mailing list