Peter -
I should have also added, when comparing web-servers
to JDBC-servers, that HTTP-protocol and web-servers are
a SPECIAL case. With HTML-files, when you specify an
actual FILE location to a browser, you are doing the SPECIAL
case of SERVER-LESS browsing, which is supported ONLY for
HTML (because people want to view 'local' content without
the need to install/configure their own local web-SERVER).
And, notice that case that the URL begins with: file://
which says you are NOT using a server at all. It is ONLY
in that special case that the url would include a reference
to an actual 'file' in your (local) file-system.
But, most all the OTHER server types, such as JDBC, FTP, etc
do NOT support the notion of SERVER-less access.
One other point: I mentioned that one 'typically' creates
the DB and inserts a few DB-records using the client-software
the comes with the DB-server.
Of course, the SQuirreL software CAN be used to create and
insert records (just like the vendor-supplied software client can).
There should ALREADY be some 'sample' DB defined and known to your
DB-server, which you should NOW be able to access using
SQuirreL. Likewise, there will be a predefined USER and PWD
that you would use to connect (before possibly defining ADDITIONAL
user/pwd info, which typically then ALSO need to be GRANTed
addtional access rights, etc.) So, for getting STARTED, it is
usually simplest to use the PREDEFINED user and pwd, because it
has ALSO been predefined with its GRANTed privs, etc.
Hope this helps...
Dave [just another SQuirreL user]
-----Original Message-----
From: squ...@li...
[mailto:squ...@li...]On Behalf Of
sun...@us...
Sent: Saturday, April 29, 2006 5:14 AM
To: squ...@li...
Subject: [Squirrel-sql-users] Attaching to database with URL
I have installed the drivers for Firebird and then look to add an alias
for the required database. However when I try to do a test connection I
get an error message, "CF: Problem getting connection: could not get a
db connection" or get the error message "CF:Unable to create connection.
Check your URL"
The syntax presented for Firebird is:
jdbc:firebirdsql:[//host[:port]/]<database>
I have tried and got the error Problem getting connection:
jdbc:firebirdsql:c\compiere\data\compiere.fdb
jdbc:firebirdsql:c:\\compiere\\data\\compiere.fdb
Check your URL error:
jdbc:firebirdsql://taurus/c:\compiere\data\compiere.fdb
jdbc:firebirdsql://taurus/c:\\compiere\\data\\compiere.fdb
jdbc:firebirdsql://taurus/taurus-c:\\compiere\\data\\compiere.fdb
I obtained the original syntax from Compiere properties file as:
taurus{taurus-c\:\\compiere\\data\\compiere.fdb-SYSDBA}
I'm using:
- Windows XP Professional
- Java 1.5
- Machine name: taurus
- apps port: 1099
- DB port: 3050
- DB User: SYSDBA
- DB Pwd: masterkey
If anyone can point me to the correct syntax or if there is anything
else I am missing, would be appreciated.
Thanks
Peter
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Squirrel-sql-users mailing list
Squ...@li...
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
|