CGI MySQL Drivers What next?
lists at futilism.com
Wed Dec 17 08:38:55 CST 2008
Jim, do you have the externals of the stack set to the right path to
dbmysql.so? (I think the path needs to be relative to where the
revolution engine is.)
On 17 Dec 2008, at 13:40, Jim Sims wrote:
> I tested my .cgi file by modifying the rev stack to return "Hello"
> so I know
> that works. I changed the rev stack back to script shown below.
> I am using the Linux standalone engine (renamed to revolution) and
> the database driver
> dbmysql.so from the Rev 2.9.0-gm-1 enterprise version.
> All are 0755 permissions.
> Database works from Firefox.
> Still no happiness from my Rev cgi.
> Anyone have a clue for me as to what I am doing wrong?
> on librarystack
> put $QUERY_STRING into theTerms
> put "USER" into dbUser -- THE REAL ONE WORKS FROM FIREFOX
> put "PASSWORD" into dbPass -- THE REAL ONE WORKS FROM FIREFOX
> put "jezpzapp_tester" into dbName
> put "localhost" into dbAddr
> put revOpenDatabase("MySQL",dbAddr,dbName,dbUser,dbPass) into
> if dbresult is a number then
> put dbresult into buffer
> put "WRONG" into buffer
> end if
> put "Content-Type: text/html" & cr & cr
> put buffer
> end librarystack
> sims at ezpzapps.com
> Skype: sims.jim or techietours
> 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:
More information about the use-livecode