On Sat, 3 May 2008 15:50:43 -0700, you wrote:

>I've been using SQLite on my windows box and wanted to move some things to
>the web. I found SQL Maestro's PHP Generator and it looked like it would be
>very useful.  I downloaded and all seem to work as advertised for generating
>the php scripts. (In other words the utility recognized my database and
>generated the scripts.)  I moved everything to my web space but the scripts
>crash saying the database file is encrypted or not a database file.  I'm not
>sure what's happening. File Format problem?

The PHP version on the webspace probably expects an
SQLite version 2 database.
You will have to convert your SQLite v3 database to
SQLite v2 before uploading:

sqlite3 .dump your.db3 | sqlite2 your.db2

And hope you didn't use SQL that SQLite v2 doesn't
understand.
-- 
  (  Kees Nuyt
  )
c[_]
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to