Why I can not connect to database from the CGI of revolution in MAC OSX ? I got Internal Server Error from Apache anytime I try to connect to database. I have - MACOSX 10.4 - Darwin Engine 2.5 that I got from <ftp://ftp.runrev.com/pub/revolution/downloads/engines/2.1.2/Darwin.gz> and people said "it is the last version of the Darwin engine that had the database drivers included" - Apache web server - Mysql database running on the same machine
That's the script I placed in the cgi-bin folder #!revolution -ui on startup put revdb_connect("MySQL","192.168.0.43","database","user","psw") into buffer put "Content-Type: text/plain" & cr put "Content-Length:" && the length of buffer & cr & cr put buffer end startup If I open Revolution and I place "put revdb_connect("MySQL","192.168.0.43","database","user","psw") into message " I always get an integer... MySQL works and the command is correct. Thank you Paolo _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution