cgi + mySQL "revdberr,invalid database type"
Mark Schonewille
m.schonewille at economy-x-talk.com
Mon Sep 24 05:22:06 EDT 2007
Hi Claude,
You need to install the MySQL database driver for Revolution on your
webserver. Without this driver, you get reported error. I am not sure
whether you can actually install this driver to work with a CGI
engine, but you could try.
Best regards,
Mark Schonewille
--
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Quickly extract data from your HyperCard stacks with DIFfersifier.
http://differsifier.economy-x-talk.com
Op 24-sep-2007, om 7:54 heeft Claude Lemmel het volgende geschreven:
> I have on a linux web server a MySQL database created and managed
> from my
> desktop Windows computer by a Revolution stack (Vista + revolution/
> windows
> 2.81) ; it works ok.
>
> On the same web server i installed revolution/linux 2.51 as a cgi
> application and it works ok for producing web pages.
>
> Now i try to have my cgi scripts fetching data from my mySQL database.
>
> If i try
> put revOpenDatabase("MySQL",myURL,myBase,myName,myPassword,0) into
> databaseID
> i am answered "revdberr,invalid database type"
>
> For the param myURL, i tried the URL of my site, the IP of my site,
> "localhost" and "", but no one works.
>
> I am sure that the params myBase,myName,myPassword are OK because they
> open succesfully the database from my desktop stack.
>
> I guess that something is wrong in the installation of Revolution
> on the
> linux server. i CHMODed all revolution files to 755
>
> Was someone successfull in managing a mySQL database from
> revolution as
> cgi ?
>
> TIA
>
> Claude
>
More information about the use-livecode
mailing list