CGI MySQL Drivers What next?
    Jim Sims 
    sims at ezpzapps.com
       
    Wed Dec 17 08:40:53 EST 2008
    
    
  
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  
dbresult
   if dbresult is a number then
     put dbresult into buffer
   else
    put "WRONG" into buffer
   end if
       put "Content-Type: text/html" & cr & cr
       put  buffer
end librarystack
-----------------
sims
sims at ezpzapps.com
Skype:   sims.jim   or  techietours
iChat:   techietours
______________________
Opportunity by Design
    
    
More information about the use-livecode
mailing list