On Wednesday 18 October 2006 20:44, Dan Nelson wrote:
> In the last episode (Oct 18), Danny Swarzman said:
> > I'm developing an Apache module that uses mySQL. It needs to be able
> > to talk to a remote host.
> >
> > I'm doing this in a Mac.
> >
> > I have a simple program in C that calls mysql_real_connect(). It
> > works with a remote host and with the localhost.
> >
> > When I put the same code into my Apache module, the call to
> > mysql_real_connect() fails.
> >
> > Anyone have any idea why this is happening?
>
> In the last episode (Oct 18), Danny Swarzman said:
> > I posted a question about running mysql in an Apache module. Maybe I
> > need a list with a different focus. Please suggest.
>
> This list is fine; you just need to include more detail, I think.  Like
> the error code you get from mysql_real_connect(), for starters.

You might want to look at the source code for mod_auth_mysql (apache module) 
for some pointers on doing stuff like that.  Hope that helps.

j

-- 
Joshua Kugler                           
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to