House of Fusion
Home of the ColdFusion Community

Search cf-talk

December 02, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31       

Search over 2,500 ColdFusion resources here  >>>      
Home /  Groups /  ColdFusion Talk (CF-Talk)

ColdFusion & SQLite

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 

10/09/2006 12:09 AM
Author:
Adam Ullman

I was wondering whether anyone has managed to connect SQLite to Coldfusion MX. There is a JDBC driver for Coldfusion but I just can't seem to get it working properly. Any help would be greatly appreciated. Adam

10/09/2006 02:33 AM
Author:
Adam Ullman

The error I get when trying to add an SQLite data source is: java.sql.SQLException: Timed out trying to establish connection

10/10/2006 01:02 AM
Author:
Denny Valliant

Off the hip, I'd say that it can't connect to your DB server. Are you sure it's running, and on the ports the driver expects? I haven't done SQLite, so I really don't know, but it's a place to start... On 10/9/06, Adam Ullman <a.ullman@edfac.usyd.edu.au> wrote: > > The error I get when trying to add an SQLite data source is: > > java.sql.SQLException: Timed out trying to establish connection >

10/16/2006 03:21 AM
Author:
Adam Ullman

Well the thing with SQLite is that it isn't actually a DB Server, so hence it doesn't run on a port. It's just a DB file that is read by C or python traditionally but I found a JDBC driver for it.

11/21/2006 08:17 AM
Author:
Matthew Scott

> Well the thing with SQLite is that it isn't actually a DB Server, so

11/21/2006 08:25 AM
Author:
Matthew Scott

> Well the thing with SQLite is that it isn't actually a DB Server, so I've done it with the precompiled drivers at zentus.com. I'm just writing up a blog entry on it. The gist is that you need the jdbc driver and compiled binary for your platform. The JDBC URL usually contains an IP and port, but with sqlite it's a file path. Example: jdbc:sqlite:/var/www/html/sqlite_ test/testdb There are suggestions at sqlite.org for securing the db file, storing it outside of the webroot, etc. I'm just fooling around to see what works. I found some weirdness with different versions and creating tables, other than that it works fine. Matthew Scott Quod Scripsi, Scripsi

11/21/2006 08:27 AM
Author:
Matthew Scott

I've done it with the precompiled drivers at zentus.com. I'm just writing up a blog entry on it. The gist is that you need the jdbc driver and compiled binary for your platform. The JDBC URL usually contains an IP and port, but with sqlite it's a file path. Example: jdbc:sqlite:/var/www/html/sqlite_ test/testdb There are suggestions at sqlite.org for securing the db file, storing it outside of the webroot, etc. I'm just fooling around to see what works. I found some weirdness with different versions and creating tables, other than that it works fine. Matthew Scott Quod Scripsi, Scripsi

01/28/2007 05:06 PM
Author:
David McCan

I was playing around Smith and got a SQLite data source working.  The steps I used are mentioned in their forum and probably have enough hints for using the JDBC driver with CFMX: http://www.smithproject.org/forum/posts/listByUser/16.page Otherwise, I think you should be able to the SQLite ODBC driver with CFMX (which is easier to setup).    I have always used the SQLite DB browser tool to create the tables and then used PHP for the server side web stuff.  If they open source Smith then I will convert that project to CFML. Best, David


<< Previous Thread Today's Threads Next Thread >>

Mailing Lists