Hello all,
At the moment I'm desperatly trying to get a database connection to work
from within a CGI script. I keep getting the 'revdberr: invaldid database
type' as connection ID.
The database type supplied is correct (tried both 'MySQL' and 'mysql'). I
also tried if Revolution has the permissi
--- Sjoerd Op 't Land
<[EMAIL PROTECTED]> wrote:
> Hello all,
>
> At the moment I'm desperatly trying to get a
> database connection to work
> from within a CGI script. I keep getting the
> 'revdberr: invaldid database
> type' as connection ID.
>
> The database type supplied is correct (tried bot
On Fri, 30 Jan 2004 06:09:08 -0800 (PST), Jan Schenkel wrote
> I had the same problem a while back when I was
> experimenting with the cgi-engine ; the quick solution
> is to copy the database drivers into the same dir as
> the engine and the cgi-scripts.
I tried this (with or w/o issuing revSetDa
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,
"loca
.
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 sit
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 ""
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
me 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
> databas
s the connection
again.
Rev 2.5 (with sep20 updater run): in IDE, works fine. Standalone on my
development machine, works fine. Standalone on any other machine, delivers
the dreaded:
revdberr,invalid database type
AFAICT, the bundle seems to have everything it needs in it.
Development machine runni
Mac OS X 10.5.1(powerPC), Rev 2.8.1 I keep getting the error:
"revdberr,invalid database type"
using the function:
revOpenDatabase("ODBC","Remote_EBCO_ODBC","","userName","password")
ODBC Administrator is configured and tests co
evelopment machine, works fine. Standalone on any other machine,
delivers
the dreaded:
revdberr,invalid database type
AFAICT, the bundle seems to have everything it needs in it.
Development machine running OS X 10.3.5. Client's test machine 10.2.8
(earlier version of the app, created with
make sure the microsoft ODBC drivers (MDAC) are installed on the other machines.
Best,
Tuviah
Speed up your surfing with Juno SpeedBand.
Now includes pop-up blocker!
Only $14.95/ month - visit http://www.juno.com/surf to sign up to
Thanks to Mark Waddingham of RunRev, who responded on the improve- list
suggesting that I use the Mac OS X Console to spot loading errors.
This revealed that Rev was trying load version 3.51 of the iODBC frameworks
from the machine's library. It turned out that my development machine had
both 3.5
Computers can be strange sometimes. I had tried the console before for
debugging info, and it wasn't being all that helpful. Now I tried it
with the "Mark" button, and for some reason the standalone actually
worked! Go figure.
Now I am building standalones which work under OS X, but a few se
On 10/15/04 2:36 PM, Ben Rubinstein wrote:
But I
certainly recommend (if you haven't tried this already) opening the Console
app on your X.3.5 machine (located in /Applications/Utilities), clicking the
"Mark" button, and then running your standalone, and see if you get any
useful messages as it fai
t; Mac OS X 10.5.1(powerPC), Rev 2.8.1 I keep getting the error:
>
> "revdberr,invalid database type"
>
> using the function:
>
> revOpenDatabase("ODBC","Remote_EBCO_ODBC","","userName","password")
>
> ODBC Administrato
low...)
I use ODBC connections to MSSQL 2000 and that's the way I do it.
From Rev's Docmentation:
"To use a DSN to identify an ODBC database, use the DSN as the host,
and
leave the databaseName parameter empty."
HTH
Mark Stuart
Robert Eppich wrote:
Mac OS X 10.5.1(power
17 matches
Mail list logo