cgi + mySQL "revdberr,invalid database type"

Shao Sean shaosean at wehostmacs.com
Mon Sep 24 15:51:41 EDT 2007


After installing the "dbmysql.so" file, make sure that your code uses  
the same letter cases as the filename..

dbmySQL.so
put revOpenDatabase("mySQL",myURL,myBase,myName,myPassword,0) into
databaseID

dbMYsql.so
put revOpenDatabase("MYsql",myURL,myBase,myName,myPassword,0) into
databaseID


The best thing to do is to store the file with all lowercase letters  
and use:
put revOpenDatabase("mysql",myURL,myBase,myName,myPassword,0) into
databaseID



More information about the use-livecode mailing list