CGI and MSQL in MAC OSX

Dave Cragg dcragg at lacscentre.co.uk
Fri Sep 2 08:49:33 EDT 2005


On 2 Sep 2005, at 13:16, paolo mazza wrote:

> Thanks Dave, Actually it is MySQL . You wrote:
>
>>
>>
>> MySQL drivers are included with Rev.
>>
>>
> The drivers are included in the engine?
> I am supposed to connect to MySQL from the CGI/revolution .. and I am
> getting "Internal Server Error" when I try to  connect to the DB.
> So.. I do not know why.


I meant that the drivers are distributed with the normal Rev  
distribution, not embedded within the CGI engine.

For what it's worth, I use mySQL with the Rev Darwin CGI engine here.  
Unfortunately, it was a long time ago that I set it up. Here's my setup.

I use the Darwin engine that comes to 3,161,924 bytes. The engine  
version as returned by "the version" function is 2.5G1. This version  
I think has the revDB external embedded within the engine.

In the same folder as my scripts, I have the driver dbmysql.so. I'm a  
little puzzled as to why I have this here. As far as I can see, only  
the Linux drivers distributed with the standard Rev distribution have  
the ".so" suffix. However, the scripts won't work without it.

Perhaps someone can remind me of the source of the "dbmysql.so" file.

Sorry if I have confused you more.

Cheers
Dave






More information about the use-livecode mailing list