CGI MySQL Drivers What next?
Alex Shaw
alex at harryscollar.com
Wed Dec 17 18:05:57 EST 2008
Hi Jim
I don't use MySQL but this works for me on linux with SQLite..
Assuming you have your script in cgi-bin. First, upload the entire linux
"Externals" folder from your "Runtime/Linux/x86-32" folder to "cgi-bin"
Then call this function near the beginning of startup:
COMMAND loadExternals
set the externals of the templatestack to "cgi-bin/Externals/revdb.so"
create stack "externals"
start using stack "externals"
revSetDatabaseDriverPath "cgi-bin/Externals"
END loadExternals
See also Ken's tip at:
http://www.sonsothunder.com/devres/revolution/tips/ext003.htm
regards
alex
Jim Sims wrote:
>
> On Dec 17, 2008, at 6:15 PM, J. Landman Gay wrote:
>
>> I'm no expert on databases, but some posts I've saved over the years
>> suggest you need to use "SetDriverPath" early in your script to tell
>> the engine where to find the drivers.
>
> Tried that.
>
> Made a sub-dir to the cgi-bin named database_drivers
>
> At the beginning of the cgi script I added:
> revSetDatabaseDriverPath "./database_drivers/"
> No luck.
> <severe banging of head sounds>
>
>
> sims
>
> sims at ezpzapps.com
> Skype: sims.jim
> iChat: techietours
> ______________________
> Opportunity by Design
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list